OpenHeronBrowser: a web browser with its own engine, written from scratch in Rust

Version 1.0.0 is out as a desktop demo for macOS, Windows and Linux. It scores 97/100 on Acid3, opens Discord, runs VS Code for the Web and boots Windows 1.01 in v86.

Article
OpenHeronBrowser's new-tab page with the demo warning, a search box, site shortcuts and the performance overlay
The new-tab page, with the performance overlay open.

Almost every browser today is built on one of three engines: Chromium's Blink, Apple's WebKit or Mozilla's Gecko. OpenHeronBrowser (OHB) is a desktop browser built on a fourth. Its HTML parser, CSS engine, layout, text, painting, DOM and networking are written from scratch in Rust, and none of it is borrowed from the other three.

Version 1.0.0 is out now as a demo for macOS, Windows and Linux. The source is on GitHub under the Apache 2.0 license.

OpenHeronBrowser on GitHub

Windows 1.01 booting in the v86 emulator inside OpenHeronBrowser, then typing Hello OpenHeronBrowser! in Notepad
Windows 1.01 booting in v86, an x86 emulator compiled to WebAssembly, running in OHB.

What it runs

Most websites render. Script-heavy ones are slower than in Chrome, because JavaScript is interpreted. Sites tested by hand include:

Discord open and signed in to a test account in OpenHeronBrowser
Discord in OHB, signed in to a test account.
Playing chess against Stockfish on lichess.org in OpenHeronBrowser slither.io in OpenHeronBrowser, with the performance overlay open
lichess.org against Stockfish, and slither.io with the performance overlay open.
TestResult
Acid397/100, the same as current Chromium
Acid2Passes
html5test483/555 (Firefox 509, Chrome 523)
web-platform-tests66,596 of 69,049 subtests (96%) across DOM, CSSOM View, UI Events, forms and selectors
Twelve popular sites rendered by OpenHeronBrowser: Google, YouTube, Wikipedia, Reddit, Amazon, GitHub, Netflix, Apple, Microsoft, BBC, CNN and IMDb
Twelve popular sites in OHB.

How it works

OpenHeronBrowser engine architecture: the shell runs on the UI thread. Each tab runs on its own thread with Parse, Script, the DOM, Style, Layout and Paint. A Net worker pool handles fetches, and a Text system provides fonts and shaping.

The shell runs on the UI thread, with winit for windows and input and softbuffer to put pixels on screen. Each tab gets its own thread, which parses HTML into a DOM, runs scripts, computes styles, lays out the page and paints it. A worker pool handles networking with rustls, HTTP/2 and WebSocket.

The engine and browser are about 85,000 lines of Rust, plus about 23,000 lines of JavaScript that implement the DOM and Web APIs on top of the engine. JavaScript runs on Boa, an interpreter written in Rust. We patched it for speed: faster variable lookups, lazily created environments, parse caching across realms and a garbage collector tuned for large apps. WebAssembly runs on wasmi.

Restyles are incremental. Each DOM change records what it touched, and only the affected elements are restyled. Painting is damage-based, so only the part of the window that changed is redrawn, and scrolling shifts pixels instead of repainting them. The browser around the engine has tabs, an omnibox, a built-in PDF viewer, the HeronBlock content blocker, DevTools and a performance overlay that shows where each frame's time goes.

Limitations

This is a demo, not a daily driver. Don't use it for banking, work or anything sensitive.

How it was built

OHB was built with substantial help from AI. Much of the code was written by Claude Opus 5.5, Anthropic's AI model. Marissa Tanner monitored the work and tested it, and compatibility was checked continuously against Chromium and the web-platform-tests.

Try it

Downloads for macOS (Apple Silicon and Intel), Windows and Linux (x86_64 and arm64) are on the releases page. The builds are unsigned, so macOS and Windows ask for confirmation the first time. To build from source you need Rust 1.90 or newer and a C compiler. See BUILDING.md.

OpenHeronBrowser on GitHub