Feature request: WebAssembly for Docker WasmEdge
- Lingua principale
- Rust
- Stelle
- 24.8k
- Fork
- 1.9k
- Merge medio
- 23h 10m
- PR unite (30g)
- 26
Descrizione
As suggested in issue https://github.com/actix/actix-web/issues/340, I'm opening a new request.
In the past years WASM started to gain popularity and now it is possible to easily build a WASM executable from Rust.
The following article provides instructions and a simple repository for building a WASM image for Docker to run https://wasmedge.org/docs/start/build-and-run/docker_wasm/
There're also a few articles that provide examples of http-server in Docker WASM
* https://blog.logrocket.com/rust-microservices-server-side-webassembly/
* https://blog.kubesimplify.com/embed-http-servers-in-wasm-with-rust-and-csharp
Motivation: WASM image size is much lighter than the same rust program with minimal Linux image (as mentioned in the WasmEdge article).
Would that be possible to build an actix-web application into WASM and what obstacles are currently present in achieving it?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.