Bez - a generated web engine

Generate a web rendering engine from specs and tests.

Why

Building a web engine by hand costs hundreds of engineers and many years, so only a few companies can have one, and only they decide how the web works. Bez generates the engine instead: from the specifications, with the three shipping browsers (checked against each other) and WPT as the tests. Once the pipeline exists, each extra engine costs very little.

Goals

  • Complete, or tree-shaken. The default build is a complete engine. For uses other than a web browser, a build can instead contain only the web features its content uses.
  • Fast on any device. A smaller engine does less work and needs less memory.
  • Easy to embed. A small engine with a clear API, for apps and devices that today ship all of Chromium or go without.
  • Fastest to update. When a spec or test changes, the affected code is regenerated and re-verified, not rewritten by hand.