Skip to content

[proposal] [dart2wasm] Wasm component model / WASI support #56366

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

Open
iapicca opened this issue Aug 2, 2024 · 2 comments
Open

[proposal] [dart2wasm] Wasm component model / WASI support #56366

iapicca opened this issue Aug 2, 2024 · 2 comments
Labels
area-dart2wasm Issues for the dart2wasm compiler. type-enhancement A request for a change that isn't a bug

Comments

@iapicca
Copy link

iapicca commented Aug 2, 2024

PROPOSAL

provide support for WASI as a build target for dart compile
eg: dart compile wasm -t wasi or dart compile wasi

NOTE

  1. this issue is part / disambiguation of Support non-JS wasm runtimes, (see the question)
    if the latter intends to include WASI support, feel free to close this issue

  2. "similar" GC collected programming language already provide support for WASI
    eg: golang, C#, kotlin

cc: @askeksa, @eyebrowsoffire, @lesnitsky, @yjbanov, @mkustermann, @osa1

@dart-github-bot
Copy link
Collaborator

Summary: This proposal suggests adding support for WASI (WebAssembly System Interface) as a build target for the dart compile command, enabling Dart code to run in WASI environments. This would allow Dart to leverage the portability and security benefits of WASI.

@dart-github-bot dart-github-bot added area-dart2wasm Issues for the dart2wasm compiler. triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. type-enhancement A request for a change that isn't a bug labels Aug 2, 2024
@kevmoo
Copy link
Member

kevmoo commented Aug 2, 2024

See also #53884

@lrhn lrhn removed the triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. label Aug 3, 2024
@kevmoo kevmoo changed the title [proposal] [dart2wasm] WASI support [proposal] [dart2wasm] Wasm component model / WASI support Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dart2wasm Issues for the dart2wasm compiler. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants