~/talk

Veracity: Declarative Multicore Programming with Commutativity

Talkat OOPSLA 2022 · 2022-12-05..12-10· [compilers-and-language-design]
name:Adam Chen
links:none on file
links:none on file
links:none on file
slides:none on file

A new language, Veracity (implemented in Multicore OCaml), lets programmers mark commute blocks with logical predicates and the compiler either forks them or falls back to sequential execution. Correctness relies on a new scoped serializability criterion enforced via synthesized locks and shorter lock windows when possible. Commute conditions are generated and verified by translating blocks to logical ADT specs and querying SMT-based toolserver2. Implementations include a small in-memory filesystem and a crowdsourced smart contract; benchmarks show measurable speedups as the long computations grow.

AI-written summary · about

  1. 0:00Multicore programming challenges
  2. 1:48Conditional sequential commutativity
  3. 3:36Commutativity for safe parallelization
  4. 6:01Formal semantics of commute
  5. 8:51Parallel execution semantics
  6. 10:14Limitations of serializability
  7. 12:44Enforcing serializability with locking
  8. 14:35Locking techniques
  9. 16:41Commutativity conditions validity
  10. 18:05Translating commute to ADTs
  11. 20:53Handling loops and summaries
  12. 21:56Synthesizing commutativity conditions
  13. 22:58Evaluation and benchmarks
  14. 24:42Summary and future
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.