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

compiling inside the browser #137

Closed
torpak opened this issue May 17, 2017 · 1 comment
Closed

compiling inside the browser #137

torpak opened this issue May 17, 2017 · 1 comment

Comments

@torpak
Copy link

torpak commented May 17, 2017

Since rust code can be compiled to javascript/webassembly, wouldn't it be possible to build this into a single static page that one could open in a browser without any server or configuration?
Rustc would then run within the browser instead of on the webserver.
I am aware that this would be much work (if at all possible) and outside the scope of this project, but it could greatly reduce the load on the rust playground servers for example, couldn't it?

@Goyapa
Copy link

Goyapa commented Jun 30, 2017

The last thing I noticed about Rust and wasm!
Ingvar Stepanyan - Interaction with real-world JavaScript from compiled Rust https://youtu.be/zxIbTfsOJZE?t=44m53s
There are two closed unsolved issues until now.
rust-lang/rust#41409

@nrc nrc closed this as completed Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants