Skip to content

Do we need a new term for a WASI "module"? #46

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

Closed
sbc100 opened this issue May 30, 2019 · 9 comments
Closed

Do we need a new term for a WASI "module"? #46

sbc100 opened this issue May 30, 2019 · 9 comments
Labels
discussion A discussion that doesn't yet have a specific conclusion or actionable proposal. module-system Issues target at the module system

Comments

@sbc100
Copy link
Member

sbc100 commented May 30, 2019

We've been talking about WASI APIs being provided by WASI "module"s. But a WebAssembly modules built against WASI APIs might also logically be called a WASI modules.

Since WASI APIs are not (in general) provided by WebAssembly modules but by the embedder directly i think it might make more sense to come up with a better term for a WASI API.

Ideas?

  • WASI API?
  • WASI sys-module?
  • WASI component?
@xtuc
Copy link

xtuc commented May 30, 2019

  • WASI support
  • WASI environment
  • WASI platform
  • WASI host

@sbc100
Copy link
Member Author

sbc100 commented May 30, 2019

Alternatively we can continue to use WASI module to refer to the system components and come up with a new name for a program that uses WASI?

@binji
Copy link
Member

binji commented May 30, 2019

  • interface
  • WAD
  • WAM
  • WAI
  • WASAPI

@skyne98
Copy link

skyne98 commented May 30, 2019

WASI Extensions? The same route as RISC-V and Vulkan?

Something like WASI-64INF => 64-bit WASI with IPC, Network and Floating-point extensions
Or just like OpenGL/Vulkan WASI_IPC, WASI_NETWORK, WASI_FLOATING_POINT

@sbc100
Copy link
Member Author

sbc100 commented May 30, 2019

I was asking about the core APIs. Right now we seem to be calling them "modules" but that seems confusing.

@cjihrig
Copy link
Contributor

cjihrig commented May 31, 2019

I like the idea of calling them the WASI API.

@rylev rylev added discussion A discussion that doesn't yet have a specific conclusion or actionable proposal. module-system Issues target at the module system labels Jun 3, 2019
@sunfishcode
Copy link
Member

I've taken to using the term "API module" when there's a need to disambiguate, and it seems to work well.

@sbc100
Copy link
Member Author

sbc100 commented Mar 10, 2021

I think the original premise of this issue no longer holds: "Since WASI APIs are not provided by WebAssembly modules but by the embedder directly...". These days my understanding is that folks are very excited about virtualization and really want this statement to be false.

So perhaps this whole issue can just be closed?

@sunfishcode
Copy link
Member

Good point :-).

alexcrichton pushed a commit to alexcrichton/WASI that referenced this issue Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion A discussion that doesn't yet have a specific conclusion or actionable proposal. module-system Issues target at the module system
Projects
None yet
Development

No branches or pull requests

7 participants