Sciweavers

OOPSLA
2015
Springer

Automating ad hoc data representation transformations

8 years 12 days ago
Automating ad hoc data representation transformations
To maximize run-time performance, programmers often specialize their code by hand, replacing library collections and containers by custom objects in which data is restructured for efficient access. However, changing the data representation is a tedious and error-prone process that makes it hard to test, maintain and evolve the source code. We present an automated and composable mechanism that allows programmers to safely change the data representation in delimited scopes containing anything from expressions to entire class definitions. To achieve this, programmers define a transformation and our mechanism automatically and transparently applies it during compilation, eliminating the need to manually change the source code. Our technique leverages the type system in order to offer correctness guarantees on the transformation and its interaction with object-oriented language features, such as dynamic dispatch, inheritance and generics. We have embedded this technique in a Scala compi...
Vlad Ureche, Aggelos Biboudis, Yannis Smaragdakis,
Added 16 Apr 2016
Updated 16 Apr 2016
Type Journal
Year 2015
Where OOPSLA
Authors Vlad Ureche, Aggelos Biboudis, Yannis Smaragdakis, Martin Odersky
Comments (0)