Abstract
We describe the quad rope data structure, a representation of immutable two-dimensional arrays that avoids many of the performance pitfalls of plain C-style two-dimensional arrays. Our motivation is that, for end-user development in high-level declarative programming languages, it is impractical to let users choose between different array-like data structures. Instead, one should use the same, somewhat performance-robust, representation for every programming task. Quad ropes roughly retain array efficiency, as long as programmers express their programs using high-level constructs. Moreover, they allow for fast concatenation and dynamic task-based parallelism and are well suited to represent sparse arrays. We describe their operational semantics and evaluate the performance of individual functions on quad ropes as well as declarative algorithms that use our quad rope implementation.
Original language | English |
---|---|
Title of host publication | Proceedings of the 4th ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming : ARRAY 2017 |
Number of pages | 8 |
Publisher | Association for Computing Machinery |
Publication date | 18 Jun 2017 |
Pages | 1-8 |
ISBN (Print) | 978-1-4503-5069-3 |
DOIs | |
Publication status | Published - 18 Jun 2017 |
Event | ACM SIGPLAN International Workshop on Libraries, Languages and Compilers for Array Programming - Barcelona, Spain Duration: 18 Jun 2017 → 23 Jun 2017 Conference number: 4 http://pldi17.sigplan.org/track/array-2017 |
Workshop
Workshop | ACM SIGPLAN International Workshop on Libraries, Languages and Compilers for Array Programming |
---|---|
Number | 4 |
Country/Territory | Spain |
City | Barcelona |
Period | 18/06/2017 → 23/06/2017 |
Internet address |
Keywords
- Quad Rope Data Structure
- Immutable Arrays
- High-Level Declarative Programming
- Sparse Arrays
- Dynamic Parallelism