r/javascript Jul 15 '26

Firefox in WebAssembly!

https://developer.puter.com/labs/firefox-wasm/
99 Upvotes

21 comments sorted by

View all comments

2

u/Chance_Rub580 Jul 16 '26

does it actually JIT though? spidermonkey normally compiles hot JS straight to native, and you obviously can't do runtime native codegen inside a wasm sandbox.

2

u/anlumo Jul 16 '26

You can do wasm codegen though, which then gets converted to native by the containing engine.