Skip to content
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

Explore Kotlin/Wasm support using WASI #1203

Closed
sdeleuze opened this issue Jan 15, 2023 · 6 comments
Closed

Explore Kotlin/Wasm support using WASI #1203

sdeleuze opened this issue Jan 15, 2023 · 6 comments

Comments

@sdeleuze
Copy link

This is obviously still the early days of Kotlin/Wasm which is not yet really usable, but be aware I would like to begin exploring Kotlin/Wasm support using WASI. I am initially experimenting on https://github.com/sdeleuze/kowasm/ side (see kowasm/kowasm#8 related issue) and then later would like to contribute a PR here when Kotlin/Wasm will be more mature and WASI supported out of the box (may take some time).

Any thoughts from Okio team on a potential future WASI support? Is there anything preventing me creating a Kotlin/Wasm + WASI counterpart of https://github.com/square/okio/tree/master/okio-nodefilesystem in an external repository? Any guidance appreciated.

@swankjesse
Copy link
Collaborator

We’re eager to support WASM as soon as we can. If you’d like to explore that space now, please do!

@sdeleuze
Copy link
Author

Glad to hear you are interested, I will give it a try and let you know how it goes.

@dbaroncelli
Copy link

@sdeleuze any news on this, now that Kotlin/Wasm support has started in Kotlin 1.8.20 ?

@sdeleuze
Copy link
Author

I am currently progressing on exposing a WASI filesystem API close to Preview2 drafts to expose the low level Preview1 ABI, and the next step will be to add Okio Wasm support, potentially on KoWasm side initially.

@swankjesse
Copy link
Collaborator

Build the WASM target here: #1289

Still needs a WASI FileSystem.

@swankjesse
Copy link
Collaborator

This is done! We’ll need to keep tracking the WASI API as it changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants