Transactional contexts: harnessing the power of context-oriented reflection. - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2009

Transactional contexts: harnessing the power of context-oriented reflection.


The emerging field of context-oriented programming gives a predominant role to the execution context of applications, and advocates the use of dedicated mechanisms to allow the elegant expression of behavioural adaptations to such context. With suitable reflective facilities, language semantics can be adapted to context by reusing the same context-oriented mechanisms that allow base-level adaptability. This kind of meta-level adaptability, in which the computation model itself becomes adaptable to context, gives rise to context-oriented computational reflection. To explore this idea, we set out to implement a simple software transactional memory system that exploits meta-level adaptability by regarding transactions as contexts, and adapting fundamental system behaviour to such transactional contexts. The implementation is succinct and non-intrusive, giving us an indication of the power lying at the crossroads of context-oriented programming and computational reflection.
Fichier principal
Vignette du fichier
Gonz09aContext.pdf (138.95 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

inria-00531216 , version 1 (02-11-2010)



Sebastián González, Marcus Denker, Kim Mens. Transactional contexts: harnessing the power of context-oriented reflection.. COP '09: International Workshop on Context-Oriented Programming, ACM, Jul 2009, Genova, Italy. pp.1-6, ⟨10.1145/1562112.1562115⟩. ⟨inria-00531216⟩
26 View
152 Download



Gmail Facebook X LinkedIn More