This Month in Ladybird - July 2026
Ladybird added private browsing, per-profile storage and sandboxing, undo/redo and rich-text editing, geolocation, and working WebAudio in July 2026, and moved most of LibWeb's style and layout pipeline to Rust. The JavaScript interpreter is now written in "flap", a typed language whose build-time compiler emits x86-64 and AArch64 handlers split into hot and cold sections. Declarative specialization trims BitwiseXor's hot path from 19 to 14 instructions and gives about 5% on compute-heavy JS benchmarks. Other changes include caging ArrayBuffer and Wasm memory inside a 4 TiB region to blunt exploits, 20–50x faster Wasm calls, and WebGL command passing via shared memory, which cut main-thread overhead from up to 40% to about 6%.
Related posts
- This Month in Ladybird - October 2026
Ladybird easyNoviceLadybird moved style, layout and paint recording onto separate threads that run concurrently with JavaScript, so CSS animations (including layout-affecting ones) and :hover keep working during long scripts, while layout queries from script wait for pending work to avoid stale data. LibJS gained a speculative optimizing JIT for x86-64 and AArch64 driven by runtime type and shape profiling, validated with a differential fuzzer against the interpreter. A new Rust WebAssembly engine with a flap-written interpreter and tiered JIT replaced the C++ engine and Cranelift, scoring about 7x higher on JetStream 3 Wasm, and Ladybird passed Safari Technology Preview on WPT with help from AI coding agents. Other changes include finer process isolation (per-site network processes, out-of-process iframes), sandbox-escape fixes, more C++-to-Rust migration, a redesigned UI and many new CSS and web APIs.
- This Month in Ladybird - August 2026
Ladybird hardMasterLadybird's August 2026 progress centres on a sustained engine performance push. A new incremental style engine treats DOM mutations as typed deltas routed to dependent selectors, and is checked against a cache-free reference evaluator and replayed session recordings. Layout results are now cached by formatting-context input constraints, and opacity and transform CSS animations run on the compositor. Together these lifted StyleBench from about 3.5 to 83 and Speedometer 2 from about 47 to 64. Other changes include CSS parsing and painting moving to Rust behind A/B equivalence checks, caging of NaN-boxed JS cell pointers into a reserved heap region, a single sandboxed WasmCompiler service, MSE support for fMP4/H.264/HEVC/AV1, CSS scroll snap, and JS debugging in DevTools.
- This Month in Ladybird - September 2026
Ladybird mediumAdeptLadybird spent a week with Trail of Bits engineers, who used frontier models to find bugs and build exploit chains. In response the browser now treats a compromised renderer as untrusted: cookies are handled in the network process, renderers requesting privileged access are killed, macOS and Linux sandboxes are tightened, and cross-site iframes can run in separate processes. Other September work added VideoToolbox hardware decoding in a dedicated media process, fixed timer clamping, hidden-tab throttling and document leaks that let background tabs reach 15 GB, and moved more animations and OffscreenCanvas rendering off the main thread. Speedometer 3 rose about 50% and StyleBench about 80%, alongside force-dark mode, auto-updating filter lists and a crash reporter ahead of alpha.
- Autogenerating Rust-JS bindings with UniFFI
Mozilla Hacks mediumAdeptMozilla extended UniFFI, its Rust library for auto-generating foreign-language bindings, to emit JavaScript bindings for Firefox Desktop starting in Firefox 105, replacing error-prone hand-written wrappers that undermined Rust's memory safety. Because JavaScript cannot call C ABI functions directly, Firefox's WebIDL code generator produces only the minimal C++ scaffolding layer, with the idiomatic user API written in JavaScript on top. UniFFI calls are blocking while the Firefox main thread must never block, so every generated JS function returns a promise, with per-function sync/async control planned. The approach shipped the Rust remote-tabs sync engine across Desktop, Android and iOS in Firefox 108.
- WebAssembly and Back Again: Fine-Grained Sandboxing in Firefox 95
Mozilla Hacks mediumAdeptFirefox 95 ships RLBox, a fine-grained sandboxing technique that compiles third-party C/C++ libraries (Graphite, Hunspell, Ogg, with Expat and Woff2 following in 96) to WebAssembly and then back to native code, so untrusted code runs in-process but cannot jump to unexpected code or touch memory outside its region. This avoids the asynchrony refactoring and memory overhead of process-based isolation, needing only sanitization of values crossing the boundary via RLBox's tainting layer. The production pipeline replaced the Cranelift prototype with wasm2c, translating wasm to C and feeding it back into Clang, which preserves PGO, cross-boundary inlining, crash reporting and debugger support. Mozilla now pays bug bounties for sandbox escapes even without a library vulnerability.