Orientation

ORIENTATIONREVIEWED: 2026-10-21

You write R but have not studied runtime design. These pages cover why R’s execution model limits parallel R, what a rewrite of the runtime would involve, and the words the rest of the corpus uses for running work at the same time. They are background for the whole corpus, not a tutorial for any one tool.

After this section

  • Explain the core differences between concurrency, parallelism, and multithreading
  • Describe what a rewrite from C to Rust protects and what it cannot change
  • Locate a specific limitation in R’s design or implementation
  • Find pages by the problem in front of you, not only by topic
  • Compare the three experimental projects and explain what each one tests
  • Choose which experimental path is closest to your own work

The pages

  1. Why R Runtime Engineering Matters. Why hardware turned parallel while R’s runtime stayed on one thread.
  2. How R Executes Code Today. The parser, the evaluator, promises, bytecode and the garbage collector, and why all of them run on one thread.
  3. Concurrency vs Parallelism vs Multithreading. Three terms that mean different things, and the mechanisms that deliver each.
  4. What Rewriting R in Rust Actually Means. The four layers of a rewrite, and which R problems Rust’s ownership and memory safety do and do not solve.
  5. The Projects as Experimental Vehicles. How threaded-r, r-in-rust, and sunlight test specific architectural bets.
  6. How to Read This Corpus. Page structure, the callouts that separate fact from hypothesis, page metadata, and diagram conventions.

Before this section

No prerequisites. This section starts from R user knowledge.

Where this leads

After orientation, you can follow two paths. The first goes down into R’s own design: Gaps and Current Limitations, then Interpreter Fundamentals, then Memory, then R Runtime Internals.

The second path explores the parallel systems that R must integrate with: Concurrency and Parallelism, Scheduling, and IPC and Data Movement.

Back to top