cwbrowser — a browser engine written from scratch in Zig
DRANK

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 / 100Acid3 conformancetest — a perfectscore~2×faster than GoogleChrome in earlybenchmarkingFrom scratchparser, CSS, layout,paint — allhand-written in Zig2 yearsof solo engineeringon the renderingengineAcid3 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.What it iscwbrowser is a desktop web browser built on a rendering engine I …

code.intellios.ai
Related Topics: Web Standards / Browsers