An Introduction to Data Representation Synthesis.

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 decompos...

Descripción completa

Detalles Bibliográficos
Publicado en:Communications of the ACM Vol. 55; no. 12; pp. 91 - 100
Autores principales: Hawkins, Peter, Rinard, Martin, Aiken, Alex, Sagiv, Mooly, Fisher, Kathleen
Formato: Artículo
Publicado: Association for Computing Machinery Dec2012
Materias:
Acceso en línea:Ver este registro en EBSCOhost
Descripción
Sumario: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.