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

Abstract : 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.
Document type :
Conference papers
Complete list of metadatas

Cited literature [18 references]  Display  Hide  Download

https://hal.inria.fr/inria-00531216
Contributor : Lse Lse <>
Submitted on : Tuesday, November 2, 2010 - 10:08:49 PM
Last modification on : Wednesday, February 13, 2019 - 6:30:03 PM
Long-term archiving on : Friday, December 2, 2016 - 1:19:04 AM

File

Gonz09aContext.pdf
Files produced by the author(s)

Identifiers

Citation

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⟩

Share

Metrics

Record views

71

Files downloads

117