Skip to content
Tech News
← Back to articles

Show HN: I worked on a new browser for 2 years, today it passed Acid 3

read original more articles
Why This Matters

This new browser demonstrates that a fully custom, from-scratch rendering engine can achieve high standards of web compatibility and performance, passing the Acid3 test with a perfect score and outperforming Chrome in early benchmarks. Its development highlights the potential for lightweight, highly optimized browsers built with modern systems programming languages like Zig, offering a new approach to browser architecture that emphasizes simplicity and speed.

Key Takeaways

cwbrowser A web browser with a rendering engine written completely from scratch in Zig, paired with Google’s V8 for JavaScript. Two years of solo work — extremely lightweight, and about 2× faster than Chrome in early testing. No Chromium, no WebKit, no Gecko. The HTML parser, CSS cascade, layout engine, and paint pipeline are all hand-written in Zig; only the JavaScript virtual machine is borrowed from Google’s V8. The result is a browser small enough to reason about end to end, and fast enough to beat the mainstream engines on the same hardware. 100 / 100 Acid3 conformance

test — a perfect

score ~2× faster than Google

Chrome in early

benchmarking From scratch parser, CSS, layout,

paint — all

hand-written in Zig 2 years of solo engineering

on the rendering

engine

Acid3 100/100 As of today, cwbrowser passes the Acid3 test with a perfect 100/100 — the same conformance bar the mainstream engines cleared, met by a from-scratch engine.

... continue reading