-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotlin -> WASM -> C++ #1696
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We want to generate C++ code that we can use to compile to unsupported platforms like Playstation, Xbox or homebrew platforms.
We can benefit from Kotlin targetting WASM.
It should be possible to start doing stuff by using WasmImport:
https://youtrack.jetbrains.com/issue/KT-55589/Basic-support-of-WASI
We can try to use wasm2c:
https://github.com/WebAssembly/wabt/blob/main/wasm2c/README.md
Alternatively we can continue work here:
https://github.com/korlibs/wasm2kt/
And benefit from having the AST to do something personalized to our specific use-case. Eventually though using a standard wasm2c would benefit the whole community. So might be worth try to contribute there.
The text was updated successfully, but these errors were encountered: