-
Notifications
You must be signed in to change notification settings - Fork 52
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
uwasi instread of browser_wasi_shim #482
Comments
Oh, it is your work. You can close this issue. |
Despite its name, Having said that, |
|
The current Ruby.Wasm is written with separate implementations for Node and Browser.
I can see considerable ingenuity and hard work. Thank you for all the work you have done. Now, I have found a way to solve this difficulty.
The swiftwasm team is developing uwasi, which seems to cover both Node and Browser implementations.
Asciidoctor-wasm implements DefaultRubyVM using this uwasi.
https://github.com/tani/asciidoctor-wasm/blob/f7a240f03c4d33d1235f68cda2497bda874988a0/src/asciidoctor.ts#L1-L21
If this implementation is adopted so that there is no need to separate the Browser and Node implementations, users will not have to distinguish between the Import of the Node and Browser implementations when using Ruby.wasm, which would be a great improvement. Please consider this.
Cheers
The text was updated successfully, but these errors were encountered: