---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?per=96&tag=compilers"
---

# Posts

Filtered by topics: Compilers.

Posts 1–84 of 84, page 1 of 1, newest first.

## 2026-11-25

- [How well is ClickHouse tested? A detailed view of increasing our own coverage](https://swe.quest/articles/how-well-is-clickhouse-tested-a-detailed-view-of-increasing-our-own-coverage-cfaf966583bc47db.md): ClickHouse · 2026-11-25 · Medium · 17 min read · Testing, CI/CD, C & C++, Compilers, AI for coding
  ClickHouse's ~2.6M-line C++ codebase reaches 91.8% line, 81.0% branch and 91.8% function coverage, measured with Clang source-based coverage across 23 CI shards every 3 hours and published at coverage.clickhouse.com.

## 2026-11-16

- [Enabling the parallel frontend on nightly](https://swe.quest/articles/enabling-the-parallel-frontend-on-nightly-9c56c94985e87b86.md): Rust Blog · 2026-11-16 · Medium · 6 min read · Rust, Compilers, Performance engineering, Concurrency
  Rust nightly now runs the compiler frontend (type checking, borrow checking) in parallel by default since nightly-2026-11-14, to surface bugs ahead of stabilization.
- [Last year we built megakernels. This year we deleted them: The road to Together Compiler](https://swe.quest/articles/last-year-we-built-megakernels-this-year-we-deleted-them-the-road-to-together-8e97dcf4bda731c8.md): Together AI · 2026-11-16 · Hard · 28 min read · Compilers, Inference & serving, Performance engineering, Hardware
  Megakernels for Llama 1B hit 990 TPS on H100 but were too inflexible to productionize, supporting only one model, batch size and precision.

## 2026-11-10

- [How We Built TLX: A Hardware-Native GPU Compiler for Production ML at Scale](https://swe.quest/articles/how-we-built-tlx-a-hardware-native-gpu-compiler-for-production-ml-at-scale-f66815adb066ecad.md): Meta Engineering · 2026-11-10 · Hard · 17 min read · Compilers, Hardware, Performance engineering, Language design, Model training
  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.

## 2026-11-07

- [JIT bitmap text rendering for microcontrollers](https://swe.quest/articles/jit-bitmap-text-rendering-for-microcontrollers-b2c91e4d8888665c.md): Linebender · 2026-11-07 · Hard · 13 min read · Compilers, Performance engineering, Hardware, Algorithms
  Proportionally spaced, kerned bitmap text on the RP2350 renders fast enough to race the beam by JIT-compiling each string into ARM Cortex-M33 code.

## 2026-11-06

- [Writing a DSL for high performance parallel programming in OxCaml](https://swe.quest/articles/writing-a-dsl-for-high-performance-parallel-programming-in-oxcaml-5f7bd51c2038a2c3.md): Jane Street Tech Blog · 2026-11-06 · Hard · 17 min read · Compilers, Functional programming, Language design, Performance engineering, Hardware
  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.

## 2026-11-04

- [Together Compiler: Continual Compilation for AI inference](https://swe.quest/articles/together-compiler-continual-compilation-for-ai-inference-d1283db901cce6b0.md): Together AI · 2026-11-04 · Hard · 6 min read · Inference & serving, Compilers, AI agents, Performance engineering
  Together Compiler (TKCC) is an agent-driven continual optimization loop that recompiles inference engines as model, hardware and traffic shape drift.

## 2026-10-31

- [This Month in Ladybird - October 2026](https://swe.quest/articles/this-month-in-ladybird-october-2026-410e66f256b9c40e.md): Ladybird · 2026-10-31 · Easy · 10 min read · Browsers, Runtimes & VMs, Compilers, WebAssembly, Sandboxing & isolation
  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.

## 2026-10-22

- [The science behind TorchNeuron, Amazon’s new PyTorch backend for AWS Trainium chips](https://swe.quest/articles/the-science-behind-torchneuron-amazon-s-new-pytorch-backend-for-aws-trainium-c2048563f9b5b6ed.md): Amazon Science · 2026-10-22 · Medium · 5 min read · Compilers, Hardware, Testing, Model training, Python
  TorchNeuron is an open-source PyTorch backend that runs existing PyTorch code on AWS Trainium with little or no change.

## 2026-10-15

- [Announcing Rust 1.99.1](https://swe.quest/articles/announcing-rust-1-99-1-ac4ba358fd1ed2e2.md): Rust Blog · 2026-10-15 · Medium · 1 min read · Rust, Compilers
  Rust 1.99.1 is a point release fixing three regressions. LLVM's loop-idiom-wcslen pass could emit calls to \`wcslen\` on targets lacking it, breaking UEFI builds using \`std\`, so compiler-builtins now provides a fallback.

## 2026-10-12

- [Crystal 1.22.0 is released!](https://swe.quest/articles/crystal-1-22-0-is-released-df698aee14efe13e.md): Crystal Blog · 2026-10-12 · Medium · 3 min read · Language design, Compilers, Runtimes & VMs
  Crystal 1.22.0 makes processes exit immediately on EPIPE when writing to STDOUT/STDERR, mimicking SIGPIPE, with an opt-out via \`STDOUT.exit\_on\_broken\_pipe = false\`.

## 2026-10-02

- [Arch-specific SIMD in Go](https://swe.quest/articles/arch-specific-simd-in-go-2992a831c4663686.md): The Go Blog · 2026-10-02 · Hard · 11 min read · Go, Performance engineering, Compilers, Hardware, WebAssembly
  Go 1.27 extends the experimental architecture-specific SIMD API (simd/archsimd, enabled with GOEXPERIMENT=simd) from amd64 to arm64 NEON and wasm 128-bit SIMD.

## 2026-09-30

- [Trading off compute for memory with activation checkpointing](https://swe.quest/articles/trading-off-compute-for-memory-with-activation-checkpointing-1f2b8d13685e738d.md): Jane Street Tech Blog · 2026-09-30 · Hard · 9 min read · Model training, Memory management, Compilers, Performance engineering, Python
  A whole-graph activation checkpointing planner for torch.compile takes an absolute GB memory budget and greedily drops min-cut saves with the cheapest recompute cost per byte of peak memory freed.

## 2026-09-25

- [An update on Angular’s TypeScript 7-powered Compiler](https://swe.quest/articles/an-update-on-angular-s-typescript-7-powered-compiler-4e2ff0686fdc5c6c.md): Angular Blog · 2026-09-25 · Medium · 7 min read · Compilers, TypeScript, Rust, Frontend, Build systems
  Because TypeScript 7 is compiled in Go and does not expose the ts.Transformer API cross-language, Angular is building a new compiler, the Angular Preprocessor (ngp), that decouples Angular compilation from TypeScript's compiler APIs.

## 2026-09-24

- [Platform-independent SIMD in Go](https://swe.quest/articles/platform-independent-simd-in-go-f8d408cca35d2358.md): The Go Blog · 2026-09-24 · Hard · 18 min read · Go, Performance engineering, Hardware, Compilers, API design
  Go 1.27 adds an experimental, size-agnostic \`simd\` package, loosely modeled on Highway for C++.

## 2026-09-11

- [Module Tracking in Swift Debug Info](https://swe.quest/articles/module-tracking-in-swift-debug-info-924221c1e8f2aa55.md): Swift.org · 2026-09-11 · Hard · 9 min read · Swift, Debugging, Build systems, Compilers, Developer tools
  Swift 6.3 and 6.4 change how explicitly-built Swift modules are referenced in debug info so LLDB's expression evaluator can import the exact module for the code at a breakpoint instead of looking it up by base name.

## 2026-09-10

- [On Binary Translation and its Consequences](https://swe.quest/articles/on-binary-translation-and-its-consequences-03315e429b313fa2.md): Chips and Cheese · 2026-09-10 · Hard · 13 min read · Hardware, Performance engineering, Compilers, Runtimes & VMs
  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.

## 2026-09-09

- [A “proof” of Fermat’s Last Theorem that fits the margin](https://swe.quest/articles/a-proof-of-fermat-s-last-theorem-that-fits-the-margin-b44a4aebaeb677ac.md): Trail of Bits · 2026-09-09 · Hard · 2 min read · Vulnerability research, Formal methods, Memory safety, Compilers
  A bug in Lean's String.Pos.Raw.extract let a bogus "proof" of Fermat's Last Theorem typecheck.

## 2026-07-31

- [This Month in Ladybird - July 2026](https://swe.quest/articles/this-month-in-ladybird-july-2026-7519e340d470d9a1.md): Ladybird · 2026-07-31 · Medium · 11 min read · Browsers, Runtimes & VMs, Rust, Compilers, Memory safety
  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.

## 2026-07-20

- [GC and Exceptions in Wasmtime](https://swe.quest/articles/gc-and-exceptions-in-wasmtime-0760e599cf5cc079.md): Bytecode Alliance · 2026-07-20 · Medium · 5 min read · WebAssembly, Memory management, Runtimes & VMs, Compilers
  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.

## 2026-07-17

- [Journey to Root, Episode I: The Maglev King](https://swe.quest/articles/journey-to-root-episode-i-the-maglev-king-49a6ac5d378286bb.md): Calif · 2026-07-17 · Hard · 46 min read · Vulnerability research, Browsers, Memory safety, Compilers, AI for coding
  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.
- [Running unmodified Doom in the SQLite bytecode language](https://swe.quest/articles/running-unmodified-doom-in-the-sqlite-bytecode-language-75f412e9cb0f0591.md): Turso · 2026-07-17 · Hard · 12 min read · Compilers, SQLite, Runtimes & VMs, Storage engines, C & C++
  Turso compiles unmodified Doom C source to SQLite's VDBE bytecode by using LLVM as a frontend and a custom backend, vdbecc, that lowers LLVM IR to VDBE.

## 2026-07-16

- [Crystal 1.21.0 is released!](https://swe.quest/articles/crystal-1-21-0-is-released-ec726e4f3fea7000.md): Crystal Blog · 2026-07-16 · Medium · 4 min read · Concurrency, Language design, Compilers
  Crystal 1.21.0 enables execution contexts (RFC 0002) by default.

## 2026-07-14

- [@clickhouse/rowbinary: when your library is also a parser compiler](https://swe.quest/articles/clickhouse-rowbinary-when-your-library-is-also-a-parser-compiler-a30fc022f9070ed3.md): ClickHouse · 2026-07-14 · Medium · 10 min read · AI for coding, Performance engineering, TypeScript, Analytics & OLAP, Compilers
  @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.

## 2026-07-11

- [fearless\_simd v0.6 brings AVX-512 and ways to disable it](https://swe.quest/articles/fearless-simd-v0-6-brings-avx-512-and-ways-to-disable-it-dbb91beeb5d3bf00.md): Linebender · 2026-07-11 · Medium · 4 min read · Rust, Performance engineering, Hardware, Compilers
  fearless\_simd v0.6 adds AVX-512 support for all operations, including safe invocation of AVX-512 intrinsics through the kernel! macro.

## 2026-06-29

- [Working With AI: A Concrete Example](https://swe.quest/articles/working-with-ai-a-concrete-example-53cea94b1ea67643.md): htmx essays · 2026-06-29 · Medium · 9 min read · AI for coding, Compilers, Language design, Debugging, JavaScript
  A regression in hyperscript 0.9.91 caused \`fetch \<url\> as JSON\` to bind \`as\` as a conversion expression on the URL.

## 2026-06-11

- [Profiling in PyTorch (Part 2): From nn.Linear to a Fused MLP](https://swe.quest/articles/profiling-in-pytorch-part-2-from-nn-linear-to-a-fused-mlp-9b220b5d3b1f868e.md): Hugging Face · 2026-06-11 · Hard · 19 min read · Performance engineering, Python, Machine learning, Compilers
  Profiling an nn.Linear on an A100 shows a single cuBLAS/CUTLASS GEMM kernel with the bias folded in as an epilogue via aten::addmm, while aten::t only rewrites strides on the CPU and launches nothing.

## 2026-04-09

- [Wasmtime’s April 9, 2026 Security Advisories](https://swe.quest/articles/wasmtime-s-april-9-2026-security-advisories-61a51ead915f197e.md): Bytecode Alliance · 2026-04-09 · Medium · 7 min read · Vulnerability research, WebAssembly, Compilers, Sandboxing & isolation, AI agents
  Wasmtime 43.0.1, 42.0.2, 36.0.7 and 24.0.7 fix 12 security advisories, two of them Critical sandbox escapes (a Winch memory access bug and a miscompiled aarch64 heap access in Cranelift).

## 2026-04-02

- [KernelEvolve: How Meta’s Ranking Engineer Agent Optimizes AI Infrastructure](https://swe.quest/articles/kernelevolve-how-meta-s-ranking-engineer-agent-optimizes-ai-infrastructure-d31b329bdf84a06a.md): Meta Engineering · 2026-04-02 · Hard · 14 min read · AI agents, Performance engineering, Hardware, Compilers, Recommendations & ranking
  KernelEvolve is Meta's agentic kernel-authoring system that treats kernel optimization as a search problem instead of one-shot LLM code generation.

## 2026-03-31

- [Introducing the JetStream 3 Benchmark Suite](https://swe.quest/articles/introducing-the-jetstream-3-benchmark-suite-df1c85fb12e2a75d.md): WebKit · 2026-03-31 · Hard · 21 min read · Runtimes & VMs, WebAssembly, Compilers, Memory management, Performance engineering
  JetStream 3 replaces JetStream 2's separate Wasm Startup/Runtime scores with the JavaScript-style first-iteration, worst-case and average-case scoring.

## 2026-02-18

- [How we reduced the size of our Agent Go binaries by up to 77%](https://swe.quest/articles/how-we-reduced-the-size-of-our-agent-go-binaries-by-up-to-77-01b71ba25e3ec4b1.md): Datadog Engineering · 2026-02-18 · Medium · 14 min read · Go, Build systems, Compilers, Performance engineering
  Datadog cut its Agent's Go binary sizes by up to 77% between versions 7.60.0 and 7.68.0 without removing features.

## 2026-02-08

- [Bun v1.3.9](https://swe.quest/articles/bun-v1-3-9-b7a8e766ebce7857.md): Bun · 2026-02-08 · Medium · 8 min read · JavaScript, Runtimes & VMs, Performance engineering, Compilers
  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\`.

## 2026-02-05

- [Building a C compiler with parallel Claudes](https://swe.quest/articles/building-a-c-compiler-with-parallel-claudes-df4a93aecd3953ce.md): Anthropic Engineering · 2026-02-05 · Medium · 11 min read · AI agents, AI for coding, Compilers, Testing, Rust
  Sixteen parallel Claude Opus 4.6 agents, run in an infinite loop inside Docker containers and coordinating through git-based task lock files, wrote a 100,000-line Rust C compiler from scratch over about 2,000 sessions and $20,000 in API costs.

## 2025-11-11

- [StyleX: A Styling Library for CSS at Scale](https://swe.quest/articles/stylex-a-styling-library-for-css-at-scale-be53ddfe6134c8c8.md): Meta Engineering · 2025-11-11 · Medium · 10 min read · CSS, Frontend, Compilers, Design systems, Web performance
  StyleX is Meta's build-time CSS-in-JS compiler that extracts style objects into collision-free atomic CSS, replacing the earlier cx system and cutting CSS size by 80% across Facebook, Instagram, WhatsApp and others.

## 2025-10-01

- [Accelerating our Android apps with Baseline Profiles](https://swe.quest/articles/accelerating-our-android-apps-with-baseline-profiles-5eae1308e94ba496.md): Meta Engineering · 2025-10-01 · Medium · 11 min read · Mobile, Performance engineering, Runtimes & VMs, Java & JVM, Compilers
  Meta generates Android Baseline Profiles from production class-load and method-usage data to trigger ART install-time AOT compilation and app image creation, improving startup, scroll and navigation metrics by 3% to 40% across its apps.

## 2025-09-18

- [From hand-tuned Go to self-optimizing code: Building BitsEvolve](https://swe.quest/articles/from-hand-tuned-go-to-self-optimizing-code-building-bitsevolve-65732e9f0f979e91.md): Datadog Engineering · 2025-09-18 · Medium · 17 min read · Performance engineering, Go, AI agents, Cost optimization, Compilers
  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.

## 2025-09-02

- [Make your ZeroGPU Spaces go brrr with ahead-of-time compilation](https://swe.quest/articles/make-your-zerogpu-spaces-go-brrr-with-ahead-of-time-compilation-51092e3d8eed121c.md): Hugging Face · 2025-09-02 · Medium · 13 min read · Inference & serving, Performance engineering, Compilers, Python
  PyTorch ahead-of-time compilation (torch.export plus AOTInductor) suits ZeroGPU Spaces, where each GPU task runs in a short-lived forked process and torch.compile's just-in-time caching costs tens of seconds to minutes per task.

## 2025-08-26

- [Enabling Kotlin incremental compilation on Buck2](https://swe.quest/articles/enabling-kotlin-incremental-compilation-on-buck2-bd5307852c0570ff.md): Meta Engineering · 2025-08-26 · Medium · 10 min read · Build systems, Java & JVM, Compilers, Developer productivity, Mobile
  Meta integrated the Kotlin incremental compiler into Buck2 via Kotlin's experimental Build Tools API, making some large Android modules build up to 3x faster and improving incremental build times about 30% for the average developer.

## 2025-06-24

- [Speculative Optimizations for WebAssembly using Deopts and Inlining](https://swe.quest/articles/speculative-optimizations-for-webassembly-using-deopts-and-inlining-bb89e7c53ac7945f.md): V8 · 2025-06-24 · Hard · 17 min read · WebAssembly, Compilers, Runtimes & VMs, Performance engineering
  V8 in Chrome M137 adds speculative call\_indirect inlining and deoptimization support for WebAssembly, using runtime call-target feedback gathered by the Liftoff baseline compiler so TurboFan can inline up to four likely callees behind cheap instance and target checks.

## 2025-03-25

- [Land ahoy: leaving the Sea of Nodes](https://swe.quest/articles/land-ahoy-leaving-the-sea-of-nodes-b461320cb50dc764.md): V8 · 2025-03-25 · Hard · 25 min read · Compilers, Runtimes & VMs, JavaScript, WebAssembly
  V8 is replacing Sea of Nodes in its Turbofan optimizing compiler with Turboshaft, a traditional control-flow-graph IR.

## 2025-02-25

- [Turbocharging V8 with mutable heap numbers](https://swe.quest/articles/turbocharging-v8-with-mutable-heap-numbers-d32025b1d5ea1f1c.md): V8 · 2025-02-25 · Hard · 5 min read · Runtimes & VMs, Compilers, JavaScript, Performance engineering, Memory management
  V8 eliminated a performance cliff in JetStream2's async-fs benchmark caused by a custom Math.random whose \`seed\` lives in a ScriptContext slot.

## 2025-01-21

- [Strobelight: A profiling service built on open source technology](https://swe.quest/articles/strobelight-a-profiling-service-built-on-open-source-technology-6a094fead0e4b62a.md): Meta Engineering · 2025-01-21 · Medium · 12 min read · Performance engineering, Observability, Linux, Cost optimization, Compilers
  Strobelight is Meta's fleet-wide profiling orchestrator, running 42 profilers (mostly eBPF-based, plus ad-hoc bpftrace scripts) on every production host with safeguards against PMU counter conflicts, concurrency limits and queuing.

## 2025-01-15

- [Unraveling a Postgres segfault that uncovered an Arm64 JIT compiler bug](https://swe.quest/articles/unraveling-a-postgres-segfault-that-uncovered-an-arm64-jit-compiler-bug-3a4fc2ffe09ef0c2.md): Datadog Engineering · 2025-01-15 · Hard · 19 min read · PostgreSQL, Compilers, Debugging, Hardware, Incidents & postmortems
  Postgres crashes with segfaults on Arm64 instances were traced to JIT-compiled tuple-deforming code, and ultimately to a bug in LLVM's Arm64 code generation.

## 2024-08-29

- [ICFP 2024](https://swe.quest/articles/icfp-2024-a2b848db9d4cf383.md): Jane Street Tech Blog · 2024-08-29 · Hard · 8 min read · Functional programming, Type systems, Language design, Memory management, Compilers
  Jane Street's OCaml Language team brings nine papers and talks to ICFP 2024 and describes its compiler-branch extensions: modal types (modes like local and unique) for Rust-like control over allocation and data-race-free parallelism, and a kind system for unboxed layouts.

## 2024-07-03

- [Bun v1.1.18](https://swe.quest/articles/bun-v1-1-18-31b31471d1306e48.md): Bun · 2024-07-03 · Medium · 5 min read · JavaScript, TypeScript, Runtimes & VMs, Compilers, Build systems
  Bun v1.1.18 adds .npmrc support so bun install can use existing private registry and scoped package configuration, alongside package-lock.json migration.

## 2024-05-01

- [The evolution of Figma’s mobile engine: Compiling away our custom programming language](https://swe.quest/articles/the-evolution-of-figma-s-mobile-engine-compiling-away-our-custom-programming-4555b49211ef8f02.md): Figma · 2024-05-01 · Medium · 16 min read · Refactoring & migrations, TypeScript, Compilers, Performance engineering, JavaScript
  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.

## 2024-04-18

- [Extensible Language Support in Zed - Part 1](https://swe.quest/articles/extensible-language-support-in-zed-part-1-13bc037c6f5096a9.md): Zed · 2024-04-18 · Medium · 7 min read · WebAssembly, Developer tools, Sandboxing & isolation, Compilers, Rust
  Zed loads third-party Tree-sitter grammars as WebAssembly modules using a hybrid design.

## 2024-04-10

- [Introducing the next-gen Meta Training and Inference Accelerator](https://swe.quest/articles/introducing-the-next-gen-meta-training-and-inference-accelerator-bf598e586267b839.md): Meta Engineering · 2024-04-10 · Hard · 9 min read · Hardware, Inference & serving, Recommendations & ranking, Compilers
  Meta's second-generation MTIA inference accelerator, built on TSMC 5nm at 1.35GHz and 90W, more than doubles compute and memory bandwidth over v1.

## 2024-01-24

- [How pg\_graphql works](https://swe.quest/articles/how-pg-graphql-works-70dff1dd9d5a0c27.md): Supabase · 2024-01-24 · Medium · 9 min read · GraphQL, PostgreSQL, Rust, Compilers
  pg\_graphql is a Rust-based Postgres extension that reflects the SQL schema as a GraphQL schema and serves queries through a \`graphql.resolve\` SQL function, with no separate server.

## 2023-12-08

- [Postgres Language Server: implementing the Parser](https://swe.quest/articles/postgres-language-server-implementing-the-parser-3a3e33745c9c0915.md): Supabase · 2023-12-08 · Hard · 14 min read · PostgreSQL, Compilers, Rust, Developer tools, SQL
  A Postgres language server's parser builds on libpg\_query rather than a custom grammar, and has to work around two gaps in it.

## 2023-11-01

- [A new way to bring garbage collected programming languages efficiently to WebAssembly · V8](https://swe.quest/articles/a-new-way-to-bring-garbage-collected-programming-languages-efficiently-to-667c409700cf29b4.md): V8 · 2023-11-01 · Hard · 20 min read · WebAssembly, Memory management, Runtimes & VMs, Compilers
  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.

## 2023-10-05

- [Meta contributes new features to Python 3.12](https://swe.quest/articles/meta-contributes-new-features-to-python-3-12-9b216e044692b29d.md): Meta Engineering · 2023-10-05 · Medium · 6 min read · Python, Runtimes & VMs, Performance engineering, Compilers, Open source
  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.

## 2023-10-03

- [CPU Dispatch in ClickHouse](https://swe.quest/articles/cpu-dispatch-in-clickhouse-5bbf7a6eb81cd552.md): ClickHouse · 2023-10-03 · Hard · 16 min read · C & C++, Performance engineering, Compilers, Hardware, Analytics & OLAP
  CPU dispatch lets a single binary use SIMD instruction sets like AVX2 and AVX-512 while staying compatible with older CPUs: hot functions are compiled for several targets with the target attribute, and the best variant is chosen at runtime using CPUID feature checks.

## 2023-09-11

- [Building a ShopifyQL Code Editor](https://swe.quest/articles/building-a-shopifyql-code-editor-ce9a095d961e0a80.md): Shopify Engineering · 2023-09-11 · Medium · 7 min read · Developer tools, Frontend, TypeScript, Compilers
  Shopify integrated ShopifyQL into the CodeMirror editor by writing an adapter that feeds its existing ANTLR-based, LSP-conforming TypeScript language server into CodeMirror's Lezer parse trees, avoiding a Lezer grammar rewrite.

## 2023-07-26

- [Copy Hunting](https://swe.quest/articles/copy-hunting-7c2f19f97f1f7edc.md): TigerBeetle · 2023-07-26 · Medium · 11 min read · Zig, Compilers, Performance engineering, Debugging, Developer tools
  Reading Zig's emitted LLVM IR as plain text and grepping it is a practical substitute for staring at disassembly when chasing implicit memcopies and binary bloat.

## 2023-07-18

- [Contributing support for a Wasm instruction to Winch](https://swe.quest/articles/contributing-support-for-a-wasm-instruction-to-winch-3a4d14391ef1d680.md): Shopify Engineering · 2023-07-18 · Hard · 9 min read · WebAssembly, Compilers, Rust, Testing, Open source
  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.

## 2023-05-31

- [JavaScript Macros in Bun](https://swe.quest/articles/javascript-macros-in-bun-722478e0ec8ce3ca.md): Bun · 2023-05-31 · Medium · 6 min read · JavaScript, Build systems, Compilers, Runtimes & VMs
  Bun Macros run JavaScript functions at bundle time and inline their return values into the bundle as AST nodes.

## 2023-05-26

- [Oxidizing OCaml: Locality](https://swe.quest/articles/oxidizing-ocaml-locality-b1f7bf98d1488c18.md): Jane Street Tech Blog · 2023-05-26 · Hard · 13 min read · Functional programming, Type systems, Memory management, Language design, Compilers
  Jane Street is extending OCaml with modes, starting with a locality mode that marks values as local (cannot escape their region) or global, so the compiler can stack-allocate short-lived values while keeping garbage collection everywhere else.

## 2023-05-18

- [Meta introduces its first-generation AI inference accelerator](https://swe.quest/articles/meta-introduces-its-first-generation-ai-inference-accelerator-ada8e18664455a57.md): Meta Engineering · 2023-05-18 · Hard · 8 min read · Hardware, Inference & serving, Recommendations & ranking, Compilers
  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.

## 2023-03-27

- [Enabling low-latency, syntax-aware editing using Tree-sitter](https://swe.quest/articles/enabling-low-latency-syntax-aware-editing-using-tree-sitter-9ffe8225d976568b.md): Zed · 2023-03-27 · Medium · 10 min read · Developer tools, Compilers, Data structures, Rust
  Zed builds its syntax-aware features on Tree-sitter, a GLR-based incremental parsing framework with error recovery that produces concrete syntax trees.

## 2023-01-17

- [Ruby 3.2’s YJIT is Production-Ready](https://swe.quest/articles/ruby-3-2-s-yjit-is-production-ready-05f17a68a56ea05c.md): Shopify Engineering · 2023-01-17 · Easy · 10 min read · Ruby, Compilers, Runtimes & VMs, Performance engineering, Rust
  YJIT, Shopify's JIT compiler for CRuby, became production-ready in Ruby 3.2 after a port from C99 to Rust and a cut in memory overhead to about a third of Ruby 3.1 levels.

## 2022-12-22

- [Year in Review 2022: Tenderlove's Ruby and Rails Reflections and Predictions](https://swe.quest/articles/year-in-review-2022-tenderlove-s-ruby-and-rails-reflections-and-predictions-d873d71ac3e91545.md): Shopify Engineering · 2022-12-22 · Easy · 8 min read · Ruby, Runtimes & VMs, Memory management, Developer tools, Compilers
  Ruby's 2022 highlights include YJIT's rewrite in Rust and its new ARM support, so \`ruby --yjit\` now runs on Apple Silicon development machines as well as production.

## 2022-11-23

- [JIT in ClickHouse](https://swe.quest/articles/jit-in-clickhouse-a3bd9587dc26e5d4.md): ClickHouse · 2022-11-23 · Hard · 27 min read · Compilers, Query engines, C & C++, Performance engineering, Analytics & OLAP
  Just-in-time compilation is built up from first principles: hand-encoding x86-64 instructions into an mmap'd executable page, calling back into host functions via pointers, and reading ELF sections to see where code and constants live.

## 2022-10-12

- [Porting the Solana eBPF JIT compiler to ARM64](https://swe.quest/articles/porting-the-solana-ebpf-jit-compiler-to-arm64-2640f585a04d44ad.md): Trail of Bits · 2022-10-12 · Hard · 11 min read · Compilers, Runtimes & VMs, Rust, Sandboxing & isolation, Memory safety
  Solana's RBPF JIT compiler, which translates eBPF smart contracts to native code on validators, was ported from x86-only to ARM64, and its x86 backend gained Windows support.

## 2022-08-18

- [Bun v0.1.9](https://swe.quest/articles/bun-v0-1-9-4ecfe167e5b29929.md): Bun · 2022-08-18 · Medium · 3 min read · Runtimes & VMs, JavaScript, Zig, Performance engineering, Compilers
  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.

## 2022-08-12

- [Hugging Face's TensorFlow Philosophy](https://swe.quest/articles/hugging-face-s-tensorflow-philosophy-1d3751167c605c69.md): Hugging Face · 2022-08-12 · Medium · 14 min read · Machine learning, Python, Model training, Compilers
  Hugging Face's transformers library treats TensorFlow models as first-class Keras citizens: every model is a Keras Model and every layer a Keras Layer, so fit(), compile() and predict() work directly, and models compose into custom hybrids via subclassing.

## 2022-08-11

- [When is JIT Faster Than A Compiler?](https://swe.quest/articles/when-is-jit-faster-than-a-compiler-a0b7c41444704d7c.md): Shopify Engineering · 2022-08-11 · Easy · 7 min read · Compilers, Runtimes & VMs, Ruby, Performance engineering
  JITs can beat ahead-of-time compilers for highly dynamic languages like Ruby because they can compile code under speculative assumptions, such as that Integer#+ hasn't been redefined, and throw that code away (de-optimize) when an assumption breaks.

## 2022-07-27

- [Faster Text Generation with TensorFlow and XLA](https://swe.quest/articles/faster-text-generation-with-tensorflow-and-xla-627c823778b1885e.md): Hugging Face · 2022-07-27 · Medium · 11 min read · Inference & serving, Compilers, LLMs, Performance engineering, Python
  TensorFlow text generation in Hugging Face transformers can be compiled with XLA by wrapping \`model.generate\` in \`tf.function(jit\_compile=True)\`, yielding up to 100x speedups and outperforming PyTorch.

## 2022-05-11

- [Our Experience Porting the YJIT Ruby Compiler to Rust](https://swe.quest/articles/our-experience-porting-the-yjit-ruby-compiler-to-rust-221d770c36dd7d35.md): Shopify Engineering · 2022-05-11 · Medium · 16 min read · Rust, Compilers, Ruby, Refactoring & migrations, C & C++
  Shopify's YJIT team ported the CRuby JIT compiler from about 11,000 lines of C99 to Rust because C's lack of modules, generics, containers and safe macros made a growing compiler hard to manage.

## 2022-05-02

- [How the Cinder JIT’s function inliner helps us optimize Instagram](https://swe.quest/articles/how-the-cinder-jit-s-function-inliner-helps-us-optimize-instagram-bec4e8e06857e7ce.md): Meta Engineering · 2022-05-02 · Hard · 13 min read · Compilers, Python, Runtimes & VMs, Performance engineering
  Cinder, Instagram's open-source CPython fork, ships a method-at-a-time JIT that lowers bytecode through HIR, SSA, LIR and register allocation to native code, removing interpreter dispatch and stack overhead.

## 2022-03-15

- [VESPA: Static profiling for binary optimization](https://swe.quest/articles/vespa-static-profiling-for-binary-optimization-e63042c42d2a6f6d.md): Meta Engineering · 2022-03-15 · Hard · 3 min read · Compilers, Performance engineering, Machine learning
  VESPA (Vintage ESP Amended) lets the BOLT binary optimizer run without dynamic profiling by predicting branch probabilities statically.

## 2022-03-10

- [After the Refactor: A Path to Faster Rendering with Liquid-C](https://swe.quest/articles/after-the-refactor-a-path-to-faster-rendering-with-liquid-c-69e5ad9480eaeead.md): Shopify Engineering · 2022-03-10 · Medium · 4 min read · Runtimes & VMs, Compilers, Ruby, C & C++, Refactoring & migrations
  Liquid-C's bytecode VM was refactored to replace its sequential constant pointer with per-instruction indexes into the constants array, so the instruction pointer can jump freely without recomputing constant offsets.

## 2021-10-19

- [GitHub Does My Operations Homework: A Ruby Speed Story](https://swe.quest/articles/github-does-my-operations-homework-a-ruby-speed-story-423c3866d401e486.md): Shopify Engineering · 2021-10-19 · Medium · 8 min read · CI/CD, Performance engineering, Ruby, Compilers
  Shopify's YJIT team runs a continuously updated public benchmark site, speed.yjit.org, that reports YJIT as 20.6% faster than interpreted CRuby and 17.4% faster than MJIT overall, and 18.5% faster than CRuby on Railsbench.

## 2021-10-15

- [Try Out YJIT for Faster Rubying](https://swe.quest/articles/try-out-yjit-for-faster-rubying-6105453188fbb741.md): Shopify Engineering · 2021-10-15 · Medium · 7 min read · Ruby, Compilers, Runtimes & VMs, Performance engineering
  YJIT, Shopify's just-in-time compiler built into CRuby and slated for Ruby 3.1, compiles frequently used Ruby code to native machine code, speeding up a simple Rails benchmark by 20% or more and a real Shopify web service by about 6% on canary traffic.

## 2021-10-14

- [YJIT: Building a New JIT Compiler for CRuby](https://swe.quest/articles/yjit-building-a-new-jit-compiler-for-cruby-51c5ee3c390b2164.md): Shopify Engineering · 2021-10-14 · Easy · 6 min read · Compilers, Ruby, Runtimes & VMs, Performance engineering
  YJIT is a new JIT compiler built inside CRuby by Shopify and GitHub engineers, based on Basic Block Versioning, and aimed at real-world workloads like Rails where the GCC-based MJIT has struggled.

## 2021-09-13

- [Superpack: Pushing the limits of compression in Facebook’s mobile apps](https://swe.quest/articles/superpack-pushing-the-limits-of-compression-in-facebook-s-mobile-apps-cb66a7a2bfc6bd02.md): Meta Engineering · 2021-09-13 · Hard · 13 min read · Compilers, Algorithms, Mobile, Functional programming
  Superpack is Meta's asymmetric compressor that combines compiler analysis with data compression, cutting Android app size by over 20% on average versus default Zip compression for apps like Facebook, Instagram, WhatsApp and Messenger.

## 2021-08-20

- [Diggin’ and Fetchin’ with TruffleRuby](https://swe.quest/articles/diggin-and-fetchin-with-truffleruby-52a4362b84ef4768.md): Shopify Engineering · 2021-08-20 · Medium · 13 min read · Ruby, Runtimes & VMs, Performance engineering, Compilers
  Refactoring a chained Hash#fetch with default values leads to prototyping a new Hash#dig\_fetch method in TruffleRuby, combining fetch's KeyError/default semantics with dig's nested traversal.

## 2021-07-28

- [Optimizing JavaScript Standard Library Functions in JSC](https://swe.quest/articles/optimizing-javascript-standard-library-functions-in-jsc-1faf7ca6f0ee5e50.md): WebKit · 2021-07-28 · Hard · 6 min read · Runtimes & VMs, Compilers, JavaScript, Browsers, Performance engineering
  JavaScriptCore speeds up Function.prototype.toString by stacking several general optimizations that together reduce a call like f.toString() to a constant string.

## 2021-07-20

- [Extending Anvil for Fun and Profit](https://swe.quest/articles/extending-anvil-for-fun-and-profit-7f2a4cd8f637a17a.md): Slack Engineering · 2021-07-20 · Hard · 6 min read · Mobile, Java & JVM, Build systems, Compilers
  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.

## 2021-03-03

- [Boosting the performance of virtual machines with Jump-Start](https://swe.quest/articles/boosting-the-performance-of-virtual-machines-with-jump-start-e63dbfae46ebd497.md): Meta Engineering · 2021-03-03 · Easy · 3 min read · Compilers, Runtimes & VMs, Performance engineering, Deployment, PHP
  Jump-Start cuts JIT warm-up overhead in HHVM by having a small slice of the fleet collect profiling data during Facebook's phased rollout.

## 2018-09-11

- [Celebrating 10 years of V8 · V8](https://swe.quest/articles/celebrating-10-years-of-v8-v8-26690aa14d628d44.md): V8 · 2018-09-11 · Easy · 9 min read · Runtimes & VMs, JavaScript, Compilers, Memory management, Performance engineering
  V8 grew over ten years from a secret project started in 2006 on a Danish farm into a JavaScript and WebAssembly engine supporting eight instruction sets, embedded by both Chrome and Node.js.

## 2018-08-07

- [V8 release v6.9 · V8](https://swe.quest/articles/v8-release-v6-9-v8-d0efd26e2594b2df.md): V8 · 2018-08-07 · Easy · 4 min read · Runtimes & VMs, JavaScript, Memory management, WebAssembly, Compilers
  V8 v6.9 embeds built-in functions directly into the binary on x64, so all Isolates share one copy instead of each holding up to 700 KB on its own heap.

## 2016-09-22

- [Redesigning the HHVM JIT compiler for better performance](https://swe.quest/articles/redesigning-the-hhvm-jit-compiler-for-better-performance-1f9d35b871d88d6a.md): Meta Engineering · 2016-09-22 · Hard · 7 min read · Compilers, Runtimes & VMs, PHP, Performance engineering
  HHVM's JIT originally compiled tracelets, maximal type-specialized bytecode sequences formed by inspecting live VM state.

## Unknown date

- [C ABI Changes for \`wasm32-unknown-unknown\` | Rust Blog](https://swe.quest/articles/c-abi-changes-for-wasm32-unknown-unknown-rust-blog-cc1b5edcd4664f9f.md): Rust Blog · Medium · 8 min read · Rust, WebAssembly, Compilers
  Rust is switching the \`extern "C"\` ABI on \`wasm32-unknown-unknown\` from a legacy non-standard definition to the WebAssembly tool-conventions C ABI, which changes generated binaries.

Same list as RSS: [https://swe.quest/feed.xml?tag=compilers](https://swe.quest/feed.xml?tag=compilers). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
