Running rustc on WASM

There is a previous thread wrt how far rustc is to being able to be compiled to WebAssembly, however, the thread hasn't really stated a current state.

I was thinking recently about an in-browser playground equivalent, one that runs in WASM, compiles to WASM, and then runs the compiled WASM directly on the browser.

Aside from the problem of sandboxing another WASM process like that (monitoring it, and also cutting it off if it runs too long), I find the idea of rustc.wasm pretty tantalizing, I see some reddit discussion (1, 2), but no concrete status or pointers.

This is the latest status I believe: Compilation to WASM? · Issue #722 · rust-lang/miri · GitHub

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.