Show HN: Firefox in WebAssembly

·Hacker News··

This is the entire Firefox browser rendering to a <canvas> 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&#x2F;fable tokens for debugging and JIT researchThis was just a fun experiment to push the boundaries of WebAssembly. For a more usable "browser in browser" experience, we also built https:&#x2F;&#x2F;github.com&#x2F;HeyPuter&#x2F;browser.js that eats a bit less RAM.

Read full article →

Related Articles

Grok Build is open source
skp1995 · Hacker News · 21h ago
How Our Rust-to-Zig Rewrite Is Going
jorangreef · Hacker News · 5h ago
Sleep regularity is a stronger predictor of mortality risk than sleep duration (2023)
bilsbie · Hacker News · 1d ago
If you want to create a button from scratch, you must first create the universe
treve · Hacker News · 13h ago
Running Gemma 4 26B at 5 tokens/sec on a 13-year-old Xeon with no GPU
neomindryan · Hacker News · 1d ago