Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Progress Report: Exploring API Design for Capabilities for Programming with Arrays
Computer and Systems Science Stockholm University.
KTH, School of Electrical Engineering and Computer Science (EECS), Computer Science, Software and Computer systems, SCS.ORCID iD: 0000-0003-4918-6582
Uppsala University.
2019 (English)In: ECOOP 2019, Association for Computing Machinery (ACM) , 2019Conference paper, Published paper (Refereed)
Abstract [en]

In on-going work, we are exploring reference capabilities for arrays, with the intention of carrying over previous results on statically guaranteed data-race freedom to parallel array algorithms. Reference capabilities typically restrict incoming pointers to an object to one (uniqueness), or restrict operations via multiple pointer to a single object (e.g., to only read). Extending such a design to arrays involve operations such as logically partitioning an array so that even though there are multiple pointers to a single array, these pointers cannot access the same elements. In this paper, we report on the on-going work of a prototype implementation of array capabilities, focusing in particular on the “array capability API design”, meaning the native operations on capabilities such as splitting and merging arrays. Using our prototype implementation, we translate several existing array algorithms into using array capabilities and qualitatively study the result. In addition to identifying the need for additional operations, we study what features are commonly exercised, what are the recurring patterns, and how reliance on direct element addressing using indexes can be reduced. We end by discussing a possible design for a more performant implementation once the API is fixed.

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM) , 2019.
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:kth:diva-257978DOI: 10.1145/3340670.3342427ISI: 000545977200003Scopus ID: 2-s2.0-85073118146OAI: oai:DiVA.org:kth-257978DiVA, id: diva2:1349621
Conference
14th Workshop on Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems, Mon 15 - Fri 19 July 2019 Hammersmith, London, United Kingdom
Note

QC 20190917

Available from: 2019-09-09 Created: 2019-09-09 Last updated: 2022-06-26Bibliographically approved

Open Access in DiVA

fulltext(2156 kB)306 downloads
File information
File name FULLTEXT01.pdfFile size 2156 kBChecksum SHA-512
7880c445383779253e73f7b0f733f84556239cac20f5b061d2f5b2940343f4f1d89388e7a839ec639cc392ea16519020ae763667d23447a9f0f9b11a79675d73
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Search in DiVA

By author/editor
Castegren, Elias
By organisation
Software and Computer systems, SCS
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 306 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 213 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf