actix-web + webassembly

Created on 21 Jun 2018  路  3Comments  路  Source: actix/actix-web

Are there any plans to support Webassembly? I recently tried to compile a webassembly and actix-web demo but it seems the net2 crate which is a dependent crate in tokio is generating lots of errors. But Webassembly is a big deal and it would be nice to incorporate this feature.

Most helpful comment

Just a note that WASI is coming along great, especially with the announcment of the Bytecode Alliance earlier this week. I would love to see this reconsidered, although I did read about this very subject over here.

All 3 comments

it is very unlikely to run HTTP servers through webassembly.

As the wasm runs on client side it doesn't have access to such facilities.

P.s. actix-web is meant for back-end, not front-end

I think it should be possible to run subset of actix, but not actix-web

Just a note that WASI is coming along great, especially with the announcment of the Bytecode Alliance earlier this week. I would love to see this reconsidered, although I did read about this very subject over here.

Was this page helpful?
0 / 5 - 0 ratings