Efficient Layer Activation in Context JS

  • Authors:
  • Robert Krahn;Jens Lincke;Robert Hirschfeld

  • Affiliations:
  • -;-;-

  • Venue:
  • C5 '12 Proceedings of the 2012 10th International Conference on Creating, Connecting and Collaborating through Computing
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

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 we present an optimization technique for ContextJS -- our COP extension to JavaScript -- that can significantly reduce this overhead to run context-aware code efficiently.