ECOOP 2015 (series) / COP 2015 (series) / COP 2015 /
Efficient Layered Method Execution in ContextAmber
We present ContextAmber, a framework for context-oriented programming, in Amber Smalltalk, an implementation of the Smalltalk programming language that compiles to JavaScript. ContextAmber is implemented using metaprogramming facilities and supports global, object-wise, and scoped layer activation. Current COP implementations come at the expense of significantly reduced execution performance due to multiple partial method invocations and layer composition computations every time a layered method is invoked. ContextAmber can reduce this overhead by inlining partial methods, caching layer compositions, and caching inlined layered methods, resulting in a runtime overhead of about 5% in our vector graphics rendering benchmarks.
Sun 5 JulDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
Sun 5 Jul
Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
15:30 - 17:00 | |||
15:30 30mTalk | Efficient Layered Method Execution in ContextAmber COP Matthias Springer Hasso Plattner Institute, Jens Lincke Hasso Plattner Institute, Robert Hirschfeld HPI | ||
16:00 30mTalk | Type-Safe Layer-Introduced Base Functions with Imperative Layer Activation COP Tomoyuki Aotani Tokyo Institute of Technology, Tetsuo Kamina Ritsumeikan University, Hidehiko Masuhara Tokyo Institute of Technology | ||
16:30 30mOther | Discussion COP |