Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actix-web + webassembly #340

Closed
icommit opened this issue Jun 21, 2018 · 6 comments
Closed

actix-web + webassembly #340

icommit opened this issue Jun 21, 2018 · 6 comments

Comments

@icommit
Copy link

icommit commented Jun 21, 2018

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.

@DoumanAsh
Copy link
Contributor

DoumanAsh commented Jun 21, 2018

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

@fafhrd91
Copy link
Member

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

@krircc krircc closed this as completed Jun 21, 2018
@krircc krircc reopened this Jun 21, 2018
@yonkeltron
Copy link

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.

@hkchindeko
Copy link

Hi, is Actix already supporting wasm32-wasi target? If no is that on the roadmap?
Will be good, now that wasm32-wasi can be run in Containerd, Docker and even can run in K8S. Work are being done to include multi-threading in wasm.

@lovasoa
Copy link

lovasoa commented Jun 16, 2023

Is there no plan to support wasm ? All the modern serverless (deno, cloudflare, vercel, fermyon, ...), require you to compile your code to wasm.

@robjtede
Copy link
Member

For WASI support, I'd ask for a new and fleshed out feature request issue.

@actix actix locked and limited conversation to collaborators Jun 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants