Tue 20 Jun 2023 14:20 - 14:40 at Cypress 2 - PLDI: Analysis & Optimizations Chair(s): Fredrik Kjolstad

Although functional programming languages simplify writing safe
parallel programs by helping programmers to avoid data races,
they have traditionally delivered poor performance.
Recent work improved performance by using a hierarchical memory
architecture that allows processors to allocate and reclaim memory
independently without any synchronization, solving thus the key
performance challenge afflicting functional programs.
The approach, however, restricts mutation, or memory effects, so as to
ensure "disentanglement", a low-level memory property that
guarantees independence between different heaps in the hierarchy.

This paper proposes techniques for supporting entanglement and for
allowing functional programs to use mutation at will.
Our techniques manage entanglement by distinguishing between
disentangled and entangled objects and shielding disentangled objects
from the cost of entanglement management.
We present a semantics that formalizes entanglement as a property at
the granularity of memory objects, and define several cost metrics
to reason about and bound the time and space cost of entanglement.
We present an implementation of the techniques by extending the MPL
compiler for Parallel ML.
The extended compiler supports all features of the Parallel ML
language, including unrestricted effects.
Our experiments using a variety of benchmarks show that MPL incurs a
small time and space overhead compared to sequential runs, scales
well, and is competitive with languages such as C++, Go, Java, OCaml.
These results show that our techniques can marry the safety benefits
of functional programming with performance.

Tue 20 Jun

Displayed time zone: Eastern Time (US & Canada) change

13:40 - 15:40
PLDI: Analysis & OptimizationsPLDI Research Papers at Cypress 2
Chair(s): Fredrik Kjolstad Stanford University

#pldi-tue-1340-optimizations-cypress Discord icon small YouTube icon small

13:40
20m
Talk
Collecting Cyclic Garbage across Foreign Function Interfaces: Who Takes the Last Piece of Cake?
PLDI Research Papers
Tetsuro Yamazaki University of Tokyo, Tomoki Nakamaru University of Tokyo, Ryota Shioya University of Tokyo, Tomoharu Ugawa University of Tokyo, Shigeru Chiba The University of Tokyo
DOI
14:00
20m
Talk
Modular Hardware Design with Timeline Types
PLDI Research Papers
Rachit Nigam Cornell University, Pedro Henrique Azevedo de Amorim Cornell University, Adrian Sampson Cornell University
DOI Pre-print
14:20
20m
Talk
Efficient Parallel Functional Programming with Effects
PLDI Research Papers
Jatin Arora Carnegie Mellon University, Sam Westrick Carnegie Mellon University, Umut A. Acar Carnegie Mellon University
DOI
14:40
20m
Talk
Better Defunctionalization through Lambda Set Specialization
PLDI Research Papers
William Brandon MIT CSAIL, Benjamin Driscoll Stanford University, Wilson Berkow UC Berkeley, Frank Dai UC Berkeley, Mae Milano University of California at Berkeley
DOI
15:00
20m
Talk
Sound Dynamic Deadlock Prediction in Linear Time
PLDI Research Papers
Hünkar Can Tunç Aarhus University, Umang Mathur National University of Singapore, Andreas Pavlogiannis Aarhus University, Mahesh Viswanathan University of Illinois at Urbana-Champaign
DOI Pre-print
15:20
20m
Talk
Context Sensitivity without Contexts: A Cut-Shortcut Approach to Fast and Precise Pointer Analysis
PLDI Research Papers
Wenjie Ma Nanjing University, Shengyuan Yang Nanjing University, Tian Tan Nanjing University, Xiaoxing Ma Nanjing University, Chang Xu Nanjing University, Yue Li Nanjing University
DOI Pre-print