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

Structure WASI APIs #182

Closed
abbec opened this issue Feb 23, 2021 · 2 comments
Closed

Structure WASI APIs #182

abbec opened this issue Feb 23, 2021 · 2 comments

Comments

@abbec
Copy link
Member

abbec commented Feb 23, 2021

The WASI APIs that we add need to be structured into different pieces. The pieces that can be implemented outside Avery should be implemented as a separate library and then the symbols are just exported in Avery or any other host. This would allow other hosts to use these APIs, for example an alternative Python executable. In that case, the wasi Python shims that we have should assume that something will provide the symbols needed to implement things like sockets, threads, etc.

The pieces that can only be implemented inside Avery should of course be implemented there but be part of a separate import/export namespace. This is for example support functions for node graphs (allocating streams, setting connections, queueing function execution etc.).

@abbec
Copy link
Member Author

abbec commented Jun 29, 2021

Actually, this should even be implemented without ties to WASI:

  • A library that handles all the host-side functionality of Firm
  • The library is exposed through the Avery runtimes to WASI etc.

This also makes it easier to support multiple WASI runtimes.

@abbec
Copy link
Member Author

abbec commented Nov 18, 2021

This has a JIRA issue now.

@abbec abbec closed this as completed Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant