This Month in Ladybird - October 2026
Ladybird 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.
Related posts
- 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.
- Bun v0.1.9
Bun mediumAdept
Bun v0.1.9 starts using JavaScriptCore's DOMJIT API to JIT-optimize native functions, making `ptr()` in `bun:ffi` 6-10x faster and `TextEncoder.encodeInto` 1.5-5x faster. To get there, Bun extended DOMJIT to accept Typed Array arguments and to declare more kinds of side effects. Bun now code-generates C++ binding classes and ABI-checked Zig bindings from JavaScript class definitions, an approach inspired by WebIDL, replacing most use of the JSC C API. Other changes include a more reliable, lower-CPU event loop on Linux, about 20% faster `Bun.serve` through better `Headers` handling, native `buffer` and `process` modules, and numerous crash fixes.
- WebKit Features for Safari 26.6
WebKit mediumAdeptSafari 26.6 adds a compileOptions parameter to WebAssembly.compileStreaming() and instantiateStreaming(), so Wasm JS String Builtins (shipped in Safari 26.2) can be enabled without giving up streaming compilation. The release also brings eight bug fixes. These include the CSS `ic` unit scaling incorrectly with zoom, position-area fallback for fixed elements, and partitioned cookie deletion via WKHTTPCookieStore. Other fixes auto-unregister service workers with missing scripts and correct RTCPeerConnection relay-only ICE gathering on macOS Sequoia.
- 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.
- Bringing Goodnotes to the web with Swift and WebAssembly
Swift.org mediumAdeptGoodnotes runs the same Swift code behind its iPad app in browsers by compiling it to WebAssembly with SwiftWasm, sharing 1.47M lines (66% of the 2.2M-line web codebase) including a rendering engine that targets Metal on iOS and WebGL on the web. The port required replacing libdispatch with Swift Concurrency, fixing code that assumed a 64-bit Int on wasm32, and abstracting I/O through dependency injection. WASI threads with Web Workers and SharedArrayBuffer, plus custom actor executors (SE-0392) that pin actors to specific workers, more than doubled INP but require cross-origin isolation. The roughly 50 MB binary (12 MB with Brotli) is cached with Service Workers, and Chrome DevTools debugging and a custom wasm-memprof heap profiler make the tooling workable. The WebAssembly support is upstreamed as of Swift 6.2.