Article may be outdated

This article is 61 days old. Some details may have changed since publication.

Hacker News·3 min read·hard

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

C
coolwulf
✦AI Summary

A developer has created a new web browser, 'cwbrowser,' built from scratch using the Zig programming language, while utilizing Google's V8 engine for JavaScript. The project aims to prove that a modern, standards-compliant browser can be lightweight and efficient when built outside the traditional Chromium or WebKit ecosystems.

Why it matters

This project challenges the dominance of the three major browser engines and demonstrates the potential for modern systems languages in high-performance software development.

✦Dive DeeperCreate a free account to unlock

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.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologydesign
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in