New project 'Bez' auto-generates a browser rendering engine from web specs
An open-source project called Bez proposes generating a web rendering engine automatically, using web specifications as source material and checking output against Chromium, Firefox and WebKit plus the WPT test suite. The system reportedly lets a model produce candidate implementations, verifies them against the three browsers' rendered layouts, and commits matching code as standard Rust. Bez can also produce 'tree-shaken' builds containing only the web features a given site or app actually uses.
GoKawiil's interpretation of the reporting above, not reported fact.
If generation and cross-browser verification can be automated, building a web engine could become dramatically cheaper than the hand-written effort of hundreds of engineers that currently limits the field to a handful of companies. Smaller, feature-scoped builds could make embedding a web engine practical for apps and devices that currently either bundle all of Chromium or skip web support entirely. The approach also implies updates could be regenerated and re-verified automatically whenever specs or tests change, rather than manually rewritten.
- Bez generates a web rendering engine from specifications rather than writing it by hand
- It verifies candidate code against Chromium, Firefox and WebKit plus the WPT test suite
- Builds can be tree-shaken to include only the web features a target app or site uses
Source: tangled.org, 2026-10-01
Published there as: “Bez: Generating a browser engine from specs and tests”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.