-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
[feature-request] support wasm target #306
Comments
Thank you for reporting an issue. See the wiki for documentation and slack for questions. |
If you have any reference how to add such support to a lib I would be happy to add it. Of course contribution is also welcome. |
WASM is a compile target, that similarly to JS, has WASM Support will be very appreciated! |
If I understand correctly, our current "native" implementation (writing logs using println) can also work in wasm. So the main thing to add is the gradle configuration. No need for many code changes. |
Do note that when WASM is out of alpha, it'll likely have interop with other WASM languages, allowing for usage of more complex log libraries than the basic stdout. Plus, you can use JS |
Which impl do you think is the most appropriate? |
I think The same, btw, applies to ( |
Kotlin for WebAssembly is now alpha. |
Partially solves #306. No Node.js support for now, as it requires a canary Node.js version (21.0.0-v8-canary202309143a48826a08 or newer). No WASI support also. Considering the raw state of Kotlin WASI, this currently seems too hard to implement. Overall, this is a fairly simple implementation based on the jsMain and jsTest modules. I hope this will be ok as a first solution, just to provide initial support for WASM.
What's left for this issue? |
I am marking it as completed. |
It is possibly to support wasm target? Coroutines and Compose libraries already have experimental wasm target support
The text was updated successfully, but these errors were encountered: