The Projects as Experimental Vehicles

ORIENTATIONSTATUS: STABLELEVEL: INTROREVIEWED: 2026-10-21

Three projects of mine drive this corpus, though none of them is its subject. They are the experiments that test the concepts here: most constraints on these pages either blocked one of them or shaped one of their designs.

threaded-r

A patched fork of GNU R. The goal is several isolated interpreters inside one process, each owned by one thread, without losing compatibility. A reimplementation of R has to rebuild the C API that compiled packages call, so this project keeps the C implementation and moves its global state, piece by piece, into per-thread and per-interpreter structures. It stresses the R runtime internals, garbage collection, and multi-interpreter architecture sections. Details: project page.

r-in-rust

An R interpreter written from scratch in Rust, built so that each interpreter can live on its own thread: each one owns its heap, garbage collector, and symbol table, and a gate check keeps global mutable state out of the interpreter code. It answers a different question: what does an R runtime look like when concurrency is a starting constraint instead of a retrofit? It stresses the interpreter, Rust, and memory sections. Details: project page.

sunlight

An R package for fast parallel workers on today’s unmodified R. A prewarmed template process preloads packages once, and workers are forked from it. It is the practical counterweight to the two runtime projects: whatever they prove must eventually beat what sunlight can already do with processes. It stresses the concurrency, scheduling, and IPC sections. Details: project page.

Organized by concept, not project

Projects change faster than concepts. A page about promises will outlive any particular patch series. So concepts own the pages, and each page ends with “Where this appears”, which points back at the projects it affects. When a project makes an architectural move, the corpus updates the concepts that move touched, records the decision in Decisions, and files any measurements under Experiments.

Where this appears

Where to go next

Back to top