actix / actix/actix-web

Feature request: WebAssembly for Docker WasmEdge

Abierto
#3,190 0 comentarios 5 reacciones 0 asignados Ver en GitHub
needs-investigation
Lenguaje dominante
Rust
Estrellas
24.8k
Forks
1.9k
Merge medio
23 h 10 min
PR fusionados (30 d)
26

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.