An introduction to data representation synthesis

  • Authors:
  • Peter Hawkins;Martin Rinard;Alex Aiken;Mooly Sagiv;Kathleen Fisher

  • Affiliations:
  • Stanford University;MIT;Stanford University;Tel-Aviv University;Tufts University

  • Venue:
  • Communications of the ACM
  • Year:
  • 2012

Quantified Score

Hi-index 48.22

Visualization

Abstract

We consider the problem of specifying combinations of data structures with complex sharing in a manner that is declarative and results in provably correct code. In our approach, abstract data types are specified using relational algebra and functional dependencies. We describe a language of decompositions that permits the user to specify different concrete representations for relations, and show that operations on concrete representations soundly implement their relational specification. We also describe an auto-tuner that automatically identifies the best decomposition for a particular workload. It is easy to incorporate data representations synthesized by our compiler into existing systems, leading to code that is simpler, correct by construction, and comparable in performance to the code it replaces.