Home Science Show HN: Firefox in WebAssembly
Science

Show HN: Firefox in WebAssembly

Key Points

This is the entire Firefox browser rendering to a element. Gecko, all UI components, and the Spidermonkey JS engine are all compiled and running in WebAssembly. Here are a few things you might find interesting:-

This is the entire Firefox browser rendering to a element. Gecko, all UI components, and the Spidermonkey JS engine are all compiled and running in WebAssembly.

Here are a few things you might find interesting:

- This is fully end to end encrypted! We use the WISP protocol for TCP-over-websockets.

- There is a novel WASM->JS JIT for experimental site speedup

- This port cost over 25k in opus/fable tokens for debugging and JIT research

This was just a fun experiment to push the boundaries of WebAssembly. For a more usable "browser in browser" experience, we also built https://github.com/HeyPuter/browser.js that eats a bit less RAM.

Comments URL: https://news.ycombinator.com/item?id=48926939

Points: 11

# Comments: 5

Firefox (ORG) WebAssembly (ORG) Gecko (ORG) UI (ORG) JIT (ORG) RAM (ORG)
Originally published by Hacker News Read original →