Developer

Firefox Compiled to WebAssembly Runs Inside Another Browser

Developer Puter has compiled the Firefox browser to WebAssembly, allowing the entire Gecko-based browser to run inside another browser. The project cost an estimated $25,000 in AI tokens and uses a WebSocket proxy for network traffic. The demo supports end-to-end encryption for HTTPS sites.

Neura News

Neura News

Neura Market Editorial

July 17, 20262 min read
Firefox Compiled to WebAssembly Runs Inside Another Browser

Firefox in WebAssembly

A developer named Puter has accomplished a remarkable technical feat: compiling the Firefox browser to WebAssembly so that the entire browser runs inside another browser. The project demonstrates just how far WebAssembly has come as a platform for running complex native applications.

Simon Willison documented the achievement on his blog, showing a screenshot of his own site running inside Firefox, which was running inside WebAssembly, which was running inside Chrome. The stack illustrates the layered nature of the implementation.

Why Firefox and How It Works

The team chose Firefox and its Gecko rendering engine because of its strong single-process support. This made it easier to compile the browser to WebAssembly without the complications that come with multi-process architectures.

The project required significant computational resources. Puter estimated that the effort consumed approximately $25,000 worth of Claude Opus and Fable tokens, taking advantage of a Claude Max subscription plan to keep costs manageable.

Network Proxy Requirement

This proxying arrangement proved expensive to operate. The team had to scale up their servers to handle the traffic surge that came when the project was discussed on Hacker News.

The #1 Newsletter in AI

Stay ahead of the AI curve

The most important updates, news, and content — delivered weekly.

No spam. Unsubscribe anytime.

Security and Encryption

Puter claims that the setup supports end-to-end encryption. Willison verified this claim by inspecting the WebSocket messages. Traffic to his own HTTPS site was encrypted, while requests and responses to http://www.example.com/ appeared in cleartext. This confirms that the encryption is working as expected.

Related Projects

The code for the Firefox-in-WebAssembly project is available in the firefox-wasm repository. A similar project called WebkitWasm, by developer theogbob, compiles WebKit to WASM. However, that project does not currently have an accessible online demo.

Background

WebAssembly, or WASM, is a binary instruction format that allows code written in languages like C, C++, and Rust to run in web browsers at near-native speed. Compiling an entire browser like Firefox into WASM is a significant achievement that pushes the boundaries of what the technology can do.

Puter is known for building a browser-based operating system that runs in the cloud. The company has been exploring ways to bring desktop-class applications to the web.

Related on Neura Market

More from Neura News

AI Models

42 Mathematicians Urge Royal Society to Warn Government and Media About AI Existential Risk

Forty-two mathematical fellows, including Fields Medal winners Martin Hairer, Peter Scholze, and Wendelin Werner, have signed an open letter urging the Royal Society to warn the UK government and media about existential risks from advanced AI. The letter follows recent breakthroughs in which leading models solved open research problems, including a Millennium Problem. None of the signatories are affiliated with AI companies. The group warns that AI labs' estimates of existential risk above ten percent must not be dismissed as hype, and that by the time the situation becomes obvious to the public, it may be too late to act.

Sep 18·2 min read
Developer

Steve Yegge Shuts Down Gas Town After Failing to Build Anything Else With It

Steve Yegge shut down Gas Town, his ultra-vibed coding agent orchestrator, after admitting he never built anything else with it despite heavy subscription spend. Databricks reported a 60% coding spend increase after rolling out GPT-6 Astra to 3,500 engineers, OpenAI published a misalignment disclosure framework with six case reports, and Xiaomi ran MiMo-V2.6 RL training in public with live telemetry.

Sep 18·21 min read