Abstract
We present a compositional denotational semantics for a functional language with first-class parallel composition and shared-mem- ory operations whose operational semantics follows the Release/Acquire weak memory model (RA). The semantics is formulated in Moggi’s monadic approach, and is based on Brookes-style traces. To do so we adapt Brookes’s traces to Kang et al.’s view-based machine for RA, and supplement Brookes’s mumble and stutter closure operations with additional operations, specific to RA. The latter provides a more nuanced understanding of traces that uncouples them from operational interrupted executions. We show that our denotational semantics is adequate and use it to validate various program transformations of interest. This is the first work to put weak memory models on the same footing as many other programming effects in Moggi’s standard monadic approach.
| Original language | English |
|---|---|
| Title of host publication | Proceedings from the European Symposium on Programming (ESOP) |
| Publisher | Springer |
| Pages | 121-149 |
| Number of pages | 27 |
| Volume | 14577 |
| ISBN (Electronic) | 978-3-031-57267-8 |
| ISBN (Print) | 978-3-031-57266-1 |
| DOIs | |
| Publication status | Published - 5 Apr 2024 |
| Event | 33rd European Symposium on Programming - Luxembourg City, Luxembourg Duration: 6 Apr 2024 → 11 Apr 2024 Conference number: 33 |
Publication series
| Name | Lecture Notes in Computer Science |
|---|---|
| Publisher | Springer Verlag |
| Volume | 14577 |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Conference
| Conference | 33rd European Symposium on Programming |
|---|---|
| Abbreviated title | ESOP 2024 |
| Country/Territory | Luxembourg |
| City | Luxembourg City |
| Period | 6/04/24 → 11/04/24 |