---
title: "Runtimes & VMs (hard)"
description: "Language runtimes and VMs: JS engines, interpreters, bytecode"
url: "https://swe.quest/tags/runtimes?difficulty=hard"
---

# Runtimes & VMs (hard)

Topic in Compilers & runtimes: Language runtimes and VMs: JS engines, interpreters, bytecode

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

Posts 1–24 of 37, page 1 of 2, newest first.

## 2026-09-30

- [How we built an async-aware Python profiler](https://swe.quest/articles/how-we-built-an-async-aware-python-profiler-fed39ce25f0b2b85.md): Datadog Engineering · 2026-09-30 · Hard · 18 min read · Python, Performance engineering, Concurrency, Observability, Runtimes & VMs
  Datadog's Python profiler now reconstructs parent-child relationships between asyncio tasks so flame graphs show "stacked stacks": the logical application path rather than independent per-task stacks.

## 2026-09-16

- [Size-Specialized Memory Allocation](https://swe.quest/articles/size-specialized-memory-allocation-cb92a01eba7d925f.md): The Go Blog · 2026-09-16 · Hard · 7 min read · Memory management, Go, Runtimes & VMs, Performance engineering
  Go 1.27 adds size-specialized variants of the runtime's mallocgc for allocations of 80 bytes or fewer, one per span class (size class plus pointer/no-pointer), making these allocations 20-30% faster and allocation-heavy programs up to 1% faster.

## 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-08-11

- [How we improved APM Java startup by encoding a prefix trie as a JVM constant](https://swe.quest/articles/how-we-improved-apm-java-startup-by-encoding-a-prefix-trie-as-a-jvm-constant-ef8ab81cb4120a77.md): Datadog Engineering · 2026-08-11 · Hard · 11 min read · Java & JVM, Data structures, Performance engineering, Observability, Runtimes & VMs
  Datadog's Java APM agent filters uninteresting classes by name during JVM startup using ClassNameTrie, a prefix trie encoded entirely in a single string constant and loaded with one ldc instruction.

## 2026-07-17

- [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-06-25

- [Announcing Silk: a silky smooth fiber runtime for ClickHouse](https://swe.quest/articles/announcing-silk-a-silky-smooth-fiber-runtime-for-clickhouse-bd3ca633b291b6b6.md): ClickHouse · 2026-06-25 · Hard · 11 min read · Concurrency, Runtimes & VMs, C & C++, Performance engineering, Linux
  Silk is a C++ stackful-fiber runtime for ClickHouse. It pins one scheduler thread per CPU, uses io\_uring as its I/O foundation, steals work in order of CPU topology cost (hyperthread sibling, then same socket, then cross-socket), and does zero heap allocation in the steady-state hot path through mmap'd stack pools, stack-resident futures and intrusive containers.

## 2026-06-08

- [The Road to Component Model 1.0](https://swe.quest/articles/the-road-to-component-model-1-0-62b2bd7fd04e618c.md): Bytecode Alliance · 2026-06-08 · Hard · 11 min read · WebAssembly, Runtimes & VMs, Language design, Browsers
  Component Model 1.0 is planned around five workstreams: a lazy ABI that replaces cabi\_realloc-based eager allocation with opaque value handles and inlinable built-ins, native implementation in at least two browser engines, simpler implementation via guest and host C ABIs plus a component-smashing tool, ecosystem and tooling growth, and WIT expressivity features such as optional imports, callbacks, resource subtyping and a map type.

## 2026-04-30

- [This Month in Ladybird - April 2026](https://swe.quest/articles/this-month-in-ladybird-april-2026-0e41fa3074ca6830.md): Ladybird · 2026-04-30 · Hard · 13 min read · Browsers, Runtimes & VMs, Performance engineering, JavaScript, CSS
  Ladybird's April 2026 work centered on performance: incremental and speculative HTML parsing, off-thread JavaScript bytecode compilation (about 200ms moved off the main thread on YouTube), per-Navigable threaded rasterization, and an O(1) bytecode register allocator that removed ~800ms on x.com.

## 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.
- [This Month in Ladybird - March 2026](https://swe.quest/articles/this-month-in-ladybird-march-2026-c71dc9742d35d206.md): Ladybird · 2026-03-31 · Hard · 9 min read · Browsers, Runtimes & VMs, Performance engineering, CSS, Rust
  Ladybird's March 2026 work centered on JavaScript engine speed.

## 2025-08-04

- [How we made JSON.stringify more than twice as fast](https://swe.quest/articles/how-we-made-json-stringify-more-than-twice-as-fast-a8feda7c2e371e2a.md): V8 · 2025-08-04 · Hard · 7 min read · Runtimes & VMs, JavaScript, Performance engineering, Browsers
  V8 more than doubled JSON.stringify throughput on the JetStream2 json-stringify-inspector benchmark by adding an iterative, side-effect-free fast path that skips the general serializer's defensive checks.

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

## 2024-11-05

- [How Bun supports V8 APIs without using V8 (part 2)](https://swe.quest/articles/how-bun-supports-v8-apis-without-using-v8-part-2-d765ff746fe7a86a.md): Bun · 2024-11-05 · Hard · 18 min read · Runtimes & VMs, JavaScript, C & C++, Memory management
  Bun emulates V8's memory layout on top of JavaScriptCore so that precompiled native addons, which inline V8 functions assuming specific pointer layouts, keep working.

## 2024-11-01

- [How we built a Ruby library that saves 50% in testing time](https://swe.quest/articles/how-we-built-a-ruby-library-that-saves-50-in-testing-time-128208a842ec0eb3.md): Datadog Engineering · 2024-11-01 · Hard · 12 min read · Ruby, Testing, Performance engineering, Runtimes & VMs, CI/CD
  Datadog built a Ruby test impact analysis library for its Intelligent Test Runner that maps each test to the source files it executes, so tests unrelated to a commit's changed files can be skipped, cutting testing time roughly in half.

## 2024-09-30

- [How Bun supports V8 APIs without using V8 (part 1)](https://swe.quest/articles/how-bun-supports-v8-apis-without-using-v8-part-1-ff8148b61cb465d8.md): Bun · 2024-09-30 · Hard · 19 min read · Runtimes & VMs, C & C++, JavaScript, Memory management
  Bun, which runs on JavaScriptCore, implements a growing subset of V8's C++ embedding API so Node.js native modules like cpu-features load without V8.

## 2024-05-20

- [.NET Continuous Profiler: Memory usage](https://swe.quest/articles/net-continuous-profiler-memory-usage-51d84deba820efcb.md): Datadog Engineering · 2024-05-20 · Hard · 9 min read · .NET, Memory management, Observability, Performance engineering, Runtimes & VMs
  Datadog's .NET continuous profiler measures memory in three ways.

## 2024-04-10

- [Optimizing WebKit & Safari for Speedometer 3.0](https://swe.quest/articles/optimizing-webkit-safari-for-speedometer-3-0-a9a8d1c62cb906f4.md): WebKit · 2024-04-10 · Hard · 11 min read · Browsers, Web performance, Runtimes & VMs, Memory management, Performance engineering
  WebKit's Speedometer 3.0 work spans JavaScriptCore, DOM, style, layout, rendering and Safari itself, with measured gains for each change.

## 2024-04-04

- [.NET Continuous Profiler: Exception and lock contention](https://swe.quest/articles/net-continuous-profiler-exception-and-lock-contention-93247ad1a6e667eb.md): Datadog Engineering · 2024-04-04 · Hard · 8 min read · .NET, Performance engineering, Observability, Concurrency, Runtimes & VMs
  Datadog's .NET continuous profiler captures thrown exceptions through ICorProfilerCallback::ExceptionThrown and reads each exception's \_message field by resolving System.Exception's ClassID from CoreLib metadata and computing the field offset with GetClassLayout.
- [The V8 Sandbox](https://swe.quest/articles/the-v8-sandbox-705346b1934809ad.md): V8 · 2024-04-04 · Hard · 11 min read · Sandboxing & isolation, Runtimes & VMs, Memory safety, Browsers, Vulnerability research
  The V8 Sandbox is a lightweight, in-process software sandbox that isolates the V8 heap so memory corruption from engine bugs cannot spread to the rest of the renderer process.

## 2024-02-13

- [.NET Continuous Profiler: CPU and wall time profiling](https://swe.quest/articles/net-continuous-profiler-cpu-and-wall-time-profiling-5dcdacf43942cb04.md): Datadog Engineering · 2024-02-13 · Hard · 10 min read · .NET, Performance engineering, Runtimes & VMs, Observability, Linux
  Datadog's .NET continuous profiler samples managed threads every 10 ms instead of relying on ETW, perf or enter/leave hooks, which cost too much for 24/7 production use.

## 2024-02-05

- [Static Roots: Objects with Compile-Time Constant Addresses](https://swe.quest/articles/static-roots-objects-with-compile-time-constant-addresses-91e4d5de9f87687b.md): V8 · 2024-02-05 · Hard · 4 min read · Runtimes & VMs, Memory management, Performance engineering, JavaScript, C & C++
  V8's static roots place the read-only heap at the start of every pointer-compression cage and generate it deterministically, so core objects like \`undefined\` get compressed addresses known at compile time (e.g. \`undefined\` is always 0x61).

## 2024-01-09

- [.NET Continuous Profiler: Under the hood](https://swe.quest/articles/net-continuous-profiler-under-the-hood-46b61cbffdef64a4.md): Datadog Engineering · 2024-01-09 · Hard · 9 min read · .NET, Performance engineering, Observability, Runtimes & VMs
  Datadog's .NET continuous profiler runs in-process as native C++ and Rust code loaded through the CLR's ICorProfilerCallback interface.

[Next page](https://swe.quest/tags/runtimes.md?difficulty=hard&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=hard&tag=runtimes](https://swe.quest/feed.xml?difficulty=hard&tag=runtimes). 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)
