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-HTTP (component model) support for WebAssembly module #991

Open
lcrilly opened this issue Nov 2, 2023 · 4 comments
Open

WASI-HTTP (component model) support for WebAssembly module #991

lcrilly opened this issue Nov 2, 2023 · 4 comments
Assignees
Labels
z-enhancement ⬆️ Product Enhancement z-roadmap z-wasm Language-Module for WebAssembly
Milestone

Comments

@lcrilly
Copy link
Contributor

lcrilly commented Nov 2, 2023

Evolve the Wasm language module to support the WASI-HTTP interface so that a Wasm component that imports WASI-HTTP can run natively on Unit.

@lcrilly lcrilly added z-enhancement ⬆️ Product Enhancement z-roadmap labels Nov 2, 2023
@lcrilly lcrilly added this to the 1.32 milestone Nov 2, 2023
@lcrilly lcrilly added this to In Development in NGINX Unit roadmap-tracker Nov 2, 2023
@ac000
Copy link
Member

ac000 commented Nov 2, 2023

This is of course an entirely new module...

@ac000
Copy link
Member

ac000 commented Nov 2, 2023

Current work can be found here.

@tippexs
Copy link
Contributor

tippexs commented Nov 3, 2023

Great progress! In the meantime we have published a Docker Image that provides the current state for early testings! I will push documentation to this thread. Please find the image on docker hub:
https://hub.docker.com/r/nginx/unit-preview

To get started with the image pull it

docker pull nginx/unit-preview:wasm-wasi-http

The current implementation of wasm-wasi-http supports Wasm components! Make sure to load it as such. For more information check the README.

@tippexs tippexs added the z-wasm Language-Module for WebAssembly label Nov 3, 2023
@ac000
Copy link
Member

ac000 commented Nov 25, 2023

I have an initial wasi-http version of luw-echo-request.c

@tippexs tippexs moved this from 🏃🏽🏃🏾‍♀️ In Development to 💪 In Development in NGINX Unit roadmap-tracker Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
z-enhancement ⬆️ Product Enhancement z-roadmap z-wasm Language-Module for WebAssembly
Projects
NGINX Unit roadmap-tracker
  
💪 In Development
Development

No branches or pull requests

3 participants