actix / actix/actix-web

Feature request: WebAssembly for Docker WasmEdge

Offen
#3,190 0 Kommentare 5 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
needs-investigation
Vorherrschende Sprache
Rust
Sterne
24.8k
Forks
1.9k
Ø Merge
23 Std. 10 Min.
Gemergte PRs (30 T.)
26

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.