Skip to content
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

WASI Preview 2 support #2289

Closed
nickchomey opened this issue Jul 16, 2024 · 4 comments
Closed

WASI Preview 2 support #2289

nickchomey opened this issue Jul 16, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@nickchomey
Copy link

nickchomey commented Jul 16, 2024

Is your feature request related to a problem? Please describe.

A recent announcement for using TinyGo with wasi preview 2 opened up a lot of possibilities. However, it can only work with a runtime that supports wasip2.

Describe the solution you'd like
A clear and concise description of what you want to happen.
It would be great if wazero could add support for wasip2

Describe alternatives you've considered

Additional context

@mathetake
Copy link
Member

mathetake commented Jul 17, 2024

unfortunately, until WASI v1.0, I would recommend to use wasip1 because of the confusion and drama around WASI.
In any case, you can implement any host environment by yourself including wasip2 if you want.

See #2200 as well where we clearly state that we will never support Component Model as well until it lands W3C recommendation 😉

@mathetake mathetake closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2024
@mathetake
Copy link
Member

ps I have never encountered a single person with a solid real world application who could elaborate on why they need them (esp. component model) and why the current WASI p1 doesn't fit for them. anyway nuff said, thank you for opening the issue as it's good to clarify our position publicly

@mathetake mathetake pinned this issue Jul 17, 2024
@nickchomey
Copy link
Author

thanks for the quick response and clarifying that! You could look at ConduitIO/conduit#1646 if curious for a real world use case - in particular this discussion for how to embed Benthos in a Conduit pipeline.

@mathetake
Copy link
Member

if curious for a real world use case

i don't see any reason why it cannot be done without wasip2/component model. I am 99.99999% sure you won't need them

@mathetake mathetake unpinned this issue Jul 31, 2024
@mathetake mathetake pinned this issue Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants