ECOOP 2015
Sun 5 - Fri 10 July 2015 Prague, Czech Republic
Sun 5 Jul 2015 15:30 - 16:00 at FIT-107 - Session 3

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.

Conference Day
Sun 5 Jul

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

15:30 - 17:00
Session 3COP at FIT-107
15:30
30m
Talk
Efficient Layered Method Execution in ContextAmber
COP
Matthias SpringerHasso Plattner Institute, Jens LinckeHasso Plattner Institute, Robert HirschfeldHPI
16:00
30m
Talk
Type-Safe Layer-Introduced Base Functions with Imperative Layer Activation
COP
Tomoyuki AotaniTokyo Institute of Technology, Tetsuo KaminaRitsumeikan University, Hidehiko MasuharaTokyo Institute of Technology
16:30
30m
Other
Discussion
COP