Skip to search boxSkip to navigationSkip to main content

Quad Ropes: Immutable, Declarative Arrays with Parallelizable Operations

Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-review

Open access

Publication Information

Output type

Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-review

Host publication Subtitle

ARRAY 2017

Original language

English

Pages from-to (Number of pages)

Pages 1-8 (8 pages)

Publication milestones

  • Published - 18/06/2017

Publication status

Published - 18/06/2017

Publisher

Association for Computing Machinery, United States
978-1-4503-5069-3

Publication IDs

  • Scopus: 85029683745

Host publication title

Proceedings of the 4th ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming

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.

Publication metrics

PlumX, opens in new tab

Citations
1
Captures
7

Related Event

Title

ACM SIGPLAN International Workshop on Libraries, Languages and Compilers for Array Programming

Event type

Workshop

Degree of recognition

International event

Date

18/06/2017 - 23/06/2017

Location

BarcelonaSpain