AWESOME-OS ENGINEERING BLOG

01 — Ending the Browser & Compiler-Install Era: The E2C Breakthrough

01 — Ending the Browser & Compiler-Install Era: The E2C Breakthrough

2026-11-19 · Awesome-OS Development History

For four decades, software stacks were built in disconnected silos. The language runtime did not know about CPU cache lines; the browser did not know about the OS scheduler; build tools threw away gigabytes of compiled artifacts on every ephemeral CI runner; and developers had to ship a 300 MB Chromium engine just to draw a rounded rectangle with readable text.

When we stepped back and looked at the entire bare-metal-to-consumer (E2C) pipeline as one system, the layers collapsed into a handful of sharp, orthogonal primitives. This post records the milestone where all of those pieces clicked together and went live.


1. Dogfooding Our Own Native GPU Host (b8g_render_v1)

We had been leaning on Chrome and Chrome DevTools Protocol (CDP) for previews and visual checks. CDP is a superpower when orchestrating millions of remote Chromium instances in our future cloud stack — so we kept cdp-arena-driver.mts intact as an @experimental cloud-only capability — but an OS must eat its own dogfood locally.

We defined a narrow, zero-copy render interface (b8g_render_v1) and built @awesome-os/b8g-gfx-host natively on wgpu + winit + glyphon:

(Bonus win of dogfooding: running our shader on real Naga/wgpu immediately caught that meta was a reserved WGSL keyword hiding in SAB_UI_QUAD_WGSL — fixed in seconds across both the native host and @awesome-os/sab-react!)


2. dev-catalog: An OS Guide, Not an Eager Web Style-Guide

Traditional web style-guides (Storybook, etc.) eagerly mount and render everything at once. An OS cannot do that.

We created intersections/dev-catalog around three strict invariants:


3. Universal I/O Split: ramStream + keyboardStream

Adding --kitty revealed a deeper unification across the entire hardware ladder:

flowchart TB
    OS["Awesome-OS Sections & .b8e Cells<br/>(DisplaySection / WindowedFrameSection + InputEventSection)"]
    OS --> UEFI["UEFI / Bare-Metal<br/>GOP Linear RAM + EFI_SIMPLE_TEXT_INPUT_EX"]
    OS --> DESK["Native Desktop<br/>b8g-gfx-host (wgpu + glyphon) + winit"]
    OS --> VT["Legacy OS Shell / Remote SSH<br/>VT100 + Kitty Graphics (APC G) + Kitty Keyboard (CSI u)"]

With decodeKittyCsiSequence() wired straight into InputEventSection.ops.ingestVt100Chunk(), remote VT100/SSH key chords (Ctrl+Tab, release events, arrows, legacy Ctrl+C) feed the exact same 16 KiB s.sabRing as native desktop windows.


4. Knowing Where Code Runs: bin-shim Provenance & frank-host-snapshoot

Mixing host-win32, wsl-linux, in-process, and wasi-container without provenance causes instant confusion. We stamped every @awesome-os/bin-shim invocation with B8G_SHIM_BOUNDARY, B8G_SHIM_RESOLVED_EXE, B8G_SHIM_ORIGIN_BIN, B8G_SHIM_CHAIN, and B8G_SHIM_DEPTH (with a recursion guard), added bin-shim doctor / whoami / which / trace, and paired it with frank-host-snapshoot so humans and agents share visual ground truth of the host desktop.


5. Ending the Compiler-Install Mess: .b8p CAS Across C++, Rust, and Zig

Using our swarm, we brought all three native compiler ecosystems inside Awesome-OS behind explicit -v host:guest:ro / :rw mounts and global .b8p CAS packs:


6. Beyond Legacy lo: B8gAbiV8Section

Awesome-OS originally grew out of lo years ago. Today we cleaned that heritage into sections/b8g-abi-v8 (B8gAbiV8Section + b8g_abi_v8_section.h):


7. Zero-Compiler Cloud CI & Hardware-Enclave Capability Math

Finally, we turned the entire stack into a product-ready cloud CI architecture (B8G Stream Runner):


Next in this chronicle: live multi-repo benchmark numbers across Deno, rustc, Bun, and b8g-abi-v8, plus production deployment of the first B8G Stream Runner cluster.

← Back to all 27 engineering posts