Software

Efficient Layer Activation in ContextJS

Free registration required

Executive Summary

Context-Oriented Programming (COP) describes language extensions for modularizing behavioral or structural variations that are to be composed at run-time. Different COP infrastructures and implementations offer several strategies for scoping, activation, and deactivation of such compositional units. Often, the mechanisms employed cause substantial execution overhead. In this paper, the authors present an optimization technique for ContextJS - their COP extension to JavaScript - that can significantly reduce this overhead to run context-aware code efficiently. ContextJS is a Context-Oriented Programming (COP) extension with JavaScript as its host language. It is implemented as a library using the meta-programming facilities of JavaScript and does not require VM modifications.

  • Format: PDF
  • Size: 488.4 KB