actix / actix/actix-web

Feature request: WebAssembly for Docker WasmEdge

オープン
#3,190 コメント 0 件 リアクション 5 件 担当者 0 名 GitHub で見る
needs-investigation
主要言語
Rust
スター
24.8k
フォーク
1.9k
平均マージ
23時間 10分
マージ済み PR(30日)
26

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。