Lune

PLDI2025Top-tier venue

Functional Meaning for Parallel Streaming

Nick Rioux, Steve Zdancewic

Abstract

Nondeterminism introduced by race conditions and message reorderings makes parallel and distributed programming hard. Nevertheless, promising approaches such as LVars and CRDTs address this problem by introducing a partial order structure on shared state that describes how the state evolves over time. Monotone programs that respect the order are deterministic. Datalog-inspired languages incorporate this idea of monotonicity in a first-class way but they are not general-purpose. We would like parallel and distributed languages to be as natural to use as any functional language, without sacrificing expressivity, and with a formal basis of study as appealing as the lambda calculus.

This paper presents ∨ , a core language for deterministic parallelism that embodies the ideas above. In ∨ , values may increase over time according to a streaming order and all computations are monotone with respect to that order. The streaming order coincides with the approximation order found in Scott semantics and so unifies the foundations of functional programming with the foundations of deterministic distributed computation. The resulting lambda calculus has a computationally adequate model rooted in domain theory. It integrates the compositionality and power of abstraction characteristic of functional programming with the declarative nature of Datalog.

This version of the paper includes extended exposition and appendices with proofs.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Flo: A Semantic Foundation for Progressive Stream Processing cites Stream Types
  • Flo: A Semantic Foundation for Progressive Stream Processing cites Seminaïve evaluation for a higher-order functional language
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on5

  1. Seminaïve evaluation for a higher-order functional languageMichael Arntzenius, Neel KrishnaswamiPOPL 2020 · 15 citations
  2. Keep CALM and CRDT OnShadaj Laddad, Conor Power, Mae Milano, Alvin Cheung et al.VLDB 2023 · 13 citations
  3. A Bowtie for a Beast: Overloading, Eta Expansion, and Extensible Data Types in F⋈Nick Rioux, Xuejing Huang, Bruno C. d. S. Oliveira, Steve ZdancewicPOPL 2023 · 10 citations
  4. Stream TypesJoseph W. Cutler, Christopher Watson, Emeka Nkurumeh, Phillip Hilliard et al.PLDI 2024 · 7 citations
  5. Flo: A Semantic Foundation for Progressive Stream ProcessingShadaj Laddad, Alvin Cheung, Joseph M. Hellerstein, Mae MilanoPOPL 2025 · 3 citations

Related papers

  1. Par means parallel: multiplicative linear logic proofs as concurrent functional programsFederico Aschieri, Francesco A. GencoPOPL 2020 · 1 citation
  2. Monoidal Streams for Dataflow ProgrammingElena Di Lavore, Giovanni de Felice, Mario RománLICS 2022 · 10 citations
  3. Monadic and comonadic aspects of dependency analysisPritam ChoudhuryOOPSLA 2022 · 2 citations
  4. Reactive probabilistic programmingGuillaume Baudart, Louis Mandel, Eric Atkinson, Benjamin Sherman et al.PLDI 2020 · 1 citation
  5. Object-Oriented Fixpoint Programming with DatalogDavid Klopp, Sebastian Erdweg, André PacakOOPSLA 2024 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines