website
website copied to clipboard
Clarify whether WASI is supported on `Support for WebAssembly (Wasm)` page
Page URL
https://docs.flutter.dev/platform-integration/web/wasm/
Page source
https://github.com/flutter/website/tree/main/src/platform-integration/web/wasm.md
Describe the problem
This is fine as far as it goes. Problem is, it doesn't go far enough.
Does Dart support WASI? Kind of an important question, but, meh, who knows? If it does, how do I use it? How, say, do I go about writing something in Dart, compiling it to WASM, and then accessing the file system?
How do I go about writing something that talks to the DOM, from WASM, in Dart? Who knows?
It would be just fine if this piece linked to some further information, but what further information? Who knows?
I'm generally a fan of Dart's documentation. It's mostly really good. But this?
C+ could do much better.
Expected fix
Briefly answer "Can I use WASI?". Link to deeper explanations of how to do talk to the DOM and WASI.
Also discuss how to call Dart WASM from Javascript in the browser. And how to call libraries written in other languages from Dart.
Additional context
No response
I would like to fix this problem.
- [ ] I will try and fix this problem on docs.flutter.dev.
@gisborne – thanks for the feedback.
As the page says, support for Wasm is under active development. We will have details about many of the things you bring up when we're ready for the broader community to engage with our Wasm implemenation.
Thanks for your patience!
Sure, but can we not just have a sentence or two about the current status?
We don’t currently support WASI, but support is planned.
There may be other things to clarify.
This might save some non-trivial number of people some non-trivial amount of time trying to find out. On 28 Nov 2023 at 19:56 -0800, Kevin Moore @.***>, wrote:
@gisborne – thanks for the feedback. As the page says, support for Wasm is under active development. We will have details about many of the things you bring up when we're ready for the broader community to engage with our Wasm implemenation. Thanks for your patience! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>