---
title: "Compilers (medium)"
description: "Compiler design, optimization passes, code generation, JITs"
url: "https://swe.quest/tags/compilers?difficulty=medium&per=96"
---

# Compilers (medium)

Topic in Compilers & runtimes: Compiler design, optimization passes, code generation, JITs

By difficulty: [Easy](https://swe.quest/tags/compilers.md?difficulty=easy) · [Medium](https://swe.quest/tags/compilers.md?difficulty=medium) · [Hard](https://swe.quest/tags/compilers.md?difficulty=hard)

Posts 1–40 of 40, 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.

## 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-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-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-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-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-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-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.

## 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-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-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-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-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-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.

## 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-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-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-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.

## 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?difficulty=medium&tag=compilers](https://swe.quest/feed.xml?difficulty=medium&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)
