March 28, 2012
Schmuel Mooly Sagiv
We consider the problem of specifying combinations of data structures with complex sharing in a manner that is both 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 permit the user to specify different concrete representations for relations, and show that operations on concrete representations soundly implement their relational specification. 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.
I will also describe the extension to generate fine-grain concurrent implementations.
This is a joint work with Peter Hawkins, Alex Aiken, Kathleen Fisher, and Martin Rinard. It appears in PLDI'11 and PLDI'12 articles. More information is available from here.