Topic domain

Language Runtimes

The machinery that keeps managed and dynamic languages running.

Articles
80
Clusters
8
Foundational
24
Intermediate
32
Advanced
24

Bytecode dispatch, stack frames, and interpreters.

  1. Stack Machines and Register Machines as Bytecode Targets
  2. Computed Goto and Direct Threading in Bytecode Interpreters
  3. How an Interpreter Lays Out a Stack Frame
  4. Constant Pools and Operand Encoding in Bytecode
  5. Calling Conventions on an Operand Stack
  6. Exception Tables and Frame Unwinding in Bytecode
All 10 in this cluster →

Tracing, reference counting, and collector tradeoffs.

  1. Reachability from Roots and the Transitive Closure
  2. Reference Counting and Its Structural Blindness to Cycles
  3. Mark-Sweep and the Fragmentation It Leaves Behind
  4. Copying Collection, Cheney Scanning, and the Bump Pointer
  5. Generational Collection and the Write Barrier That Enables It
  6. Mark-Compact: Sliding Objects Without a Second Semispace
All 10 in this cluster →

Profiling, tiering, and speculative optimization.

  1. Interpreter Dispatch Overhead and the Cost That Justifies Compilation
  2. Hot Code Detection with Invocation and Back-Edge Counters
  3. Tiered Compilation and On-Stack Replacement
  4. Type Feedback and Inline Caches in Dynamic Call Sites
  5. Speculative Inlining and Guard Placement
  6. Deoptimization and Frame State Reconstruction
All 10 in this cluster →

Inline caches, shapes, and hidden classes.

  1. The Dictionary Object Model and the Cost of a Name Lookup
  2. Hidden Classes and the Transition Tree Behind Property Writes
  3. Monomorphic Inline Caches and the Guard That Makes Them Work
  4. Property Attributes, Accessors, and the Demotion to Dictionary Mode
  5. Polymorphic and Megamorphic Inline Caches
  6. Type Feedback and the Speculation Budget
All 10 in this cluster →

Schedulers, green threads, and event loops.

  1. Readiness Notification and the Single-Threaded Event Loop
  2. Green Threads and the Cost of a User-Space Context Switch
  3. Yield Points and What Makes a Task Cooperatively Schedulable
  4. Readiness and Completion: Two Ways to Ask the Kernel for I/O
  5. Work-Stealing Deques and Why the Thief Takes the Oldest Task
  6. Stackful and Stackless Coroutines: Where Suspension Is Allowed
All 10 in this cluster →

Calling conventions across language boundaries.

  1. The C Calling Convention as an Interoperability Contract
  2. Symbol Mangling and Linkage in Cross-Language Calls
  3. Struct Passing and Register Classification Across ABIs
  4. String Encoding and Buffer Ownership at the FFI Boundary
  5. Allocator Mismatch and Cross-Runtime Deallocation
  6. Native Callbacks Into Managed Code
All 10 in this cluster →

Dependency resolution, artifacts, and environments.

  1. Dependency Resolution as Backtracking Search Over Version Sets
  2. Version Precedence and the Semantics of Range Operators
  3. Lockfiles as Reproducibility Contracts and Why They Drift
  4. Registry Index Metadata and Resolution Without Downloading Artifacts
  5. Content Addressing and What Artifact Hashes Actually Prove
  6. Platform Tags and Binary Compatibility in Distributed Artifacts
All 10 in this cluster →

Sandboxing, capability models, and isolation.

  1. The Runtime as Reference Monitor: Mediation and the Trusted Base
  2. Capability References and the Absence of Ambient Authority
  3. Syscall Filtering and the Process as a Security Boundary
  4. Linearity and Aliasing as a Confinement Discipline
  5. WebAssembly Imports as the Only Channel to the Host
  6. Deserialization as Re-entry Across the Trust Boundary
All 10 in this cluster →

All Language Runtimes articles