denoland / deploy_feedback

For reporting issues with Deno Deploy
https://deno.com/deploy
74 stars 5 forks source link

Implement WASI 0.2 support for Deno Deploy #679

Open beingminimal opened 5 months ago

beingminimal commented 5 months ago

What problem are you trying to solve?

Deno currently offers partial support for WASI through the wasicap_snapshot_preview1 interface. This partial support limits the ability to run a wide range of WASI modules that are designed for modern environments. The lack of compatibility with the evolving WASI 0.2 standard prevents users from leveraging the enhanced security features, broader module compatibility, and cutting-edge development capabilities that WASI 0.2 provides. This limitation affects both Deno and Deno Deploy users, restricting their ability to fully utilize WebAssembly for various production use cases.

I have an issue when trying to run modern WASI modules on Deno and Deno Deploy, as they do not fully support the WASI 0.2 standard. This limits module compatibility, security, and performance, making it difficult to develop and deploy WebAssembly applications effectively.

Describe the solution you'd like

I would like Deno to implement full support for the WASI 0.2 standard. This would involve updating the current WASI interface to be compatible with WASI 0.2, enabling the execution of a wider range of WASI modules with enhanced security features and improved performance.

Describe alternatives you've considered

One alternative considered was to continue using the existing wasicap_snapshot_preview1 interface, but this approach does not address the compatibility issues with newer WASI modules or the benefits offered by WASI 0.2. Another alternative was to explore third-party tools or libraries to bridge the gap, but this adds complexity and does not provide a native solution within Deno and Deno Deploy.

Documentation, Adoption, Migration Strategy

Documentation:

Adoption:

Migration Strategy: