Highly dynamic behaviour adaptability through prototypes with subjective multimethods

  • Authors:
  • Sebastián González;Kim Mens;Patrick Heymans

  • Affiliations:
  • Université catholique de Louvain, Louvain-la-Neuve, Belgium;Université catholique de Louvain, Louvain-la-Neuve, Belgium;University of Namur, Namur, Belgium

  • Venue:
  • Proceedings of the 2007 symposium on Dynamic languages
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

With the advent of ambient intelligence and advances in mobile hardware technology, the next generation of software systems will require the ability to gracefully and dynamically adapt to changes in their surrounding environment. Contemporary languages provide no dedicated support to this end, thus requiring software developers to achieve this run-time adaptability through the use of specific design patterns and architectural solutions. As a consequence, all possible variability points of mobile systems need to be anticipated up front. Instead, we aim at solving the problem at the language level. We propose a new programming language called Ambience that provides dedicated language mechanisms to manage changing contexts and deal with run-time adaptation of mobile applications to those contexts. The language abstractions we propose are based on a prototype-based programming model that features multimethods and subjective object behaviour. We illustrate and motivate our approach by means of two running examples that were implemented in our language.