We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.PL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Programming Languages

Title: Efficient Tree-Traversals: Reconciling Parallelism and Dense Data Representations

Abstract: Recent work showed that compiling functional programs to use dense, serialized memory representations for recursive algebraic datatypes can yield significant constant-factor speedups for sequential programs. But serializing data in a maximally dense format consequently serializes the processing of that data, yielding a tension between density and parallelism. This paper shows that a disciplined, practical compromise is possible. We present Parallel Gibbon, a compiler that obtains the benefits of dense data formats and parallelism. We formalize the semantics of the parallel location calculus underpinning this novel implementation strategy, and show that it is type-safe. Parallel Gibbon exceeds the parallel performance of existing compilers for purely functional programs that use recursive algebraic datatypes, including, notably, abstract-syntax-tree traversals as in compilers.
Subjects: Programming Languages (cs.PL)
Cite as: arXiv:2107.00522 [cs.PL]
  (or arXiv:2107.00522v1 [cs.PL] for this version)

Submission history

From: Chaitanya Koparkar [view email]
[v1] Thu, 1 Jul 2021 15:08:53 GMT (413kb,D)

Link back to: arXiv, form interface, contact.