Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Compilers & runtimes

Compilers

Compiler design, optimization passes, code generation, JITs.

Search within Compilers, or combine it with other topics →

2026

Meta Engineering

How We Built TLX: A Hardware-Native GPU Compiler for Production ML at Scale

Deep dive 17 min +170 XP

Triton Low-Level Extensions (TLX) add explicit warp-group, synchronization, memory and cluster-level orchestration to Triton, so engineers can use Hopper and Blackwell features such as TMA, TMEM, mbarriers and paired-CTA execution without dropping to CUDA.

Writing a DSL for high performance parallel programming in OxCaml

Deep dive 17 min +170 XP

A Jane Street intern built a JIT compiler for an SPMD-style DSL in OxCaml so SIMD kernels for options pricing and risk checks can be written once as ordinary-looking OxCaml functions instead of architecture-specific C intrinsics.

Chips and Cheese

On Binary Translation and its Consequences

Research 13 min +130 XP

Running Geekbench 7's x86-64 build under Windows 11's Prism binary translator roughly doubles executed aarch64 instruction counts and costs several CPU generations' worth of performance, with vectorized AVX workloads like Video Player hit hardest and branch/memory-bound ones like Navigation least.

Bytecode Alliance

GC and Exceptions in Wasmtime

Announcement 5 min +50 XP

Wasmtime 47 enables the WebAssembly GC and exceptions proposals by default, letting objects-and-references languages use the runtime's collector instead of shipping their own, and letting exception-using languages use zero-overhead unwinding instead of custom return-flag calling conventions.

Calif

Journey to Root, Episode I: The Maglev King

Research 46 min +460 XP

A three-person team used AI assistants to discover and weaponize a five-vulnerability Google Chrome exploit chain, including a Maglev representation-confusion bug that causes incorrect write-barrier elision, a JavaScript Promise Integration sandbox escape, and an ExternalOneByteString information leak.

ClickHouse

@clickhouse/rowbinary: when your library is also a parser compiler

Deep dive 10 min +100 XP

@clickhouse/rowbinary is a Node.js reader/writer for ClickHouse's RowBinary formats that also ships as an Agent Skill: a coding agent reads its densely commented, monomorphizable primitives plus SKILL.md and generates a parser specialized to a query's exact column types, replacing a traditional codegen compiler.

Bun

Bun v1.3.9

Release 8 min +80 XP

Bun v1.3.9 adds `bun run --parallel` and `--sequential` for running package.json scripts with prefixed output across workspaces, along with Node-compatible HTTP/2 connection upgrades via `net.Server`, `Symbol.dispose` support for test mocks, `NO_PROXY` handling for explicit proxies, `--cpu-prof-interval`, and ESM bytecode in `--compile`.

2025

From hand-tuned Go to self-optimizing code: Building BitsEvolve

Case study 17 min +170 XP

Datadog cut CPU in Go hot paths by removing compiler bounds checks in NormalizeTag (25% faster, 0.75% service CPU) and adding an ASCII fast path to NormalizeTagArbTagValue (90% faster, hundreds of thousands of dollars in projected annual savings), guided by production data showing nearly all inputs were ASCII.

2024

Figma

The evolution of Figma’s mobile engine: Compiling away our custom programming language

Case study 16 min +160 XP

Figma migrated its prototype viewer's mobile engine from Skew, an in-house compile-to-JavaScript language, to TypeScript using a custom Skew-to-TypeScript transpiler and a three-phase rollout (write/build Skew, write Skew/build TypeScript, write/build TypeScript) that never paused development.

2023

V8

A new way to bring garbage collected programming languages efficiently to WebAssembly · V8

Deep dive 20 min +200 XP

Garbage-collected languages like Java, Kotlin, Dart, Python and C# can reach WebAssembly in two ways: compile an existing language VM to linear-memory WasmMVP, or lower the language's objects onto WasmGC structs and arrays managed by the host VM's garbage collector.

Meta Engineering

Meta contributes new features to Python 3.12

Release 6 min +60 XP

Meta upstreamed several features into CPython 3.12, many derived from its Cinder runtime: immortal objects (PEP 683) that skip reference counting to cut copy-on-write memory in forked Instagram workers, the @typing.override decorator (PEP 698), and inlined comprehensions (PEP 709) running up to 2x faster.

Contributing support for a Wasm instruction to Winch

How-to 9 min +90 XP

Adding a WebAssembly instruction to Winch, Wasmtime's baseline non-optimizing compiler, touches several layers: the wasmparser VisitOperator visitor, the CodeGenContext that manages the value stack, register allocation and spilling, an ISA-independent MacroAssembler, and an x86_64 assembler built on Cranelift's ISLE-generated instruction definitions.

Meta Engineering

Meta introduces its first-generation AI inference accelerator

Deep dive 8 min +80 XP

MTIA v1 is Meta's first custom inference ASIC for deep learning recommendation models: a TSMC 7nm, 800 MHz, 25 W chip delivering 102.4 INT8 TOPS, built from an 8x8 mesh of processing elements with customized RISC-V cores, fixed-function units, 128 KB local SRAM each, 128 MB shared on-chip SRAM and up to 128 GB LPDDR5.

2022

2021

Slack Engineering

Extending Anvil for Fun and Profit

Case study 6 min +60 XP

Slack's Android app replaced dagger-android activity injection with a custom Anvil code generator: annotating an activity with @InjectWith(scope) generates an AnvilInjector wrapping Dagger's intrinsic MembersInjector plus a @ContributesTo binding module that adds it to a scope-level multibinding map.

2018

2016

Undated

The quest for software engineering knowledge.

Look:
Layout: