Seedling · ·

Concurrency Primitives

When multiple tasks overlap in time, certain side effects can occur. This include:

  • race conditions
  • deadlocks
  • data corruption

Lingering on what it means for tasks to "overlap in time", I would like to go through the process of creating tasks that overlap and analyze their relationships with each other. When tasks overlap it means the start time of a given task is less than the end time of another. Do these tasks need to be working on the same resource?

Papers to explore

  • Gul Agha's paper titled Actors: A Model Of Concurrent Computation In Distributed Systems
  • Orleans: Distributed Virtual Actors for Programmability and Scalability (Bernstein et al., 2014)
  • Reactors: A Case for Predictable, Virtualized Actor Database Systems (Shah & Salles, 2017)
  • Reactors: A Deterministic Model of Concurrent Computation for Reactive Systems (Lohstroh, 2020)
  • High-Performance Deterministic Concurrency using Lingua Franca (Menard et al., 2023)
  • Mailbox Types for Unordered Interactions (de'Liguoro & Padovani, 2018)
  • Speak Now: Safe Actor Programming with Multiparty Session Types (Fowler & Hu, 2026)
  • A Survey of Active Object Languages (de Boer et al., 2017)

Agha's Actor Model

After a first pass of his paper, he seams to use concurrency and parallel computing interchangeably. My guess is back then the distinction hadn't been explored yet or maybe there were constraints of the hardware that I don't know about yet.