Documents

DOI

Derived values are values calculated from base values. They can be expressed in object-oriented languages by means of getters calculating the derived value, and in relational or logic databases by means of (materialized) views. However, switching to a different calculation strategy (for example caching) in object-oriented programming requires invasive code changes, and the databases limit expressiveness by disallowing recursive aggregation. In this paper, we present IceDust, a data modeling language for expressing derived attribute values without committing to a calculation strategy. IceDust provides three strategies for calculating derived values in persistent object graphs: Calculate-on-Read, Calculate-on-Write, and Calculate-Eventually. We have developed a path-based abstract interpretation that provides static dependency analysis to generate code for these strategies. Benchmarks show that different strategies perform better in different scenarios. In addition we have conducted a case study that suggests that derived value calculations of systems used in practice can be expressed in IceDust.

Original languageEnglish
Title of host publication30th European Conference on Object-Oriented Programming, ECOOP 2016
EditorsShriram Krishnamurthi, Benjamin S. Lerner
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Pages1-26
Number of pages26
ISBN (Electronic)978-3-95977-014-9
DOIs
StatePublished - 1 Jul 2016
Event30th European Conference on Object-Oriented Programming, ECOOP 2016 - Rome, Italy

Publication series

NameLeibniz International Proceedings in Informatics
Volume56
ISSN (Print)1868-8969

Conference

Conference30th European Conference on Object-Oriented Programming, ECOOP 2016
CountryItaly
CityRome
Period18/07/1622/07/16

    Research areas

  • Data modeling, Domain specific language, Incremental computing

ID: 9334140