denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
93.37k stars 5.18k forks source link

Implement WASI 0.2 support for Deno #24289

Open beingminimal opened 1 week ago

beingminimal commented 1 week ago

Deno currently offers partial support for WASI through the wasicap_snapshot_preview1 interface. While this allows running some WASI modules, it lacks compatibility with the latest and evolving WASI 0.2 standard. Implementing full WASI 0.2 support would significantly enhance Deno's capabilities and unlock exciting possibilities for WebAssembly development and deployment.

Benefits for Deno Users:

Production Use Cases:

Call to Action:

Implementing WASI 0.2 support now will:

We strongly encourage the Deno team to prioritize the implementation of WASI 0.2 support and unlock its potential benefits for the Deno community.

Additional Notes:

https://github.com/WebAssembly/WASI/blob/main/preview2/README.md

littledivy commented 1 week ago

Deno currently offers partial support for WASI through the wasicap_snapshot_preview1 interface.

What is wasicap_snapshot_preview1? This doesn't exist.

Feel free to add links to relevant discussions or proposals to further strengthen the case. You can gather upvotes or endorsements from other interested users to demonstrate wider community support for this feature.

The issue description seems to be written using ChatGPT.

Can you please update the issue with a real use case / a link to the wasi_snapshot_preview2 / prior art in other runtimes, languages?

beingminimal commented 1 week ago

@littledivy updated links in the issue description. Thanks