Programming dynamically reconfigurable open systems with SALSA

Carlos Varela, Gul Agha

Research output: Contribution to journalArticle

Abstract

Applications running on the Internet, or on limited-resource devices, need to be able to adapt to changes in their execution environment at run-time. Current languages and systems fall short of enabling developers to migrate and reconfigure application sub-components at program-execution time. In this paper, we describe essential aspects of the design and implementation of SALSA, an actor-based language for mobile and Internet computing. SALSA simplifies programming dynamically reconfigurable, open applications by providing universal names, active objects, and migration. Moreover, SALSA introduces three language mechanisms to help programmers coordinate asynchronous, mobile computations: token-passing continuations, join continuations and first-class continuations. We provide some examples which illustrate how SALSA programs are not only dynamically reconfigurable and open, but also much more concise and easier to follow than comparable Java code. Furthermore, we provide empirical results which show SALSA's performance to be better than Java code using an actor library, and which illustrate the difference between local, local area, and wide area communication and migration. Finally, we discuss the implementation of our preprocessor which translates SALSA code into Java.

Original languageEnglish (US)
Pages (from-to)20-32
Number of pages13
JournalSIGPLAN Notices (ACM Special Interest Group on Programming Languages)
Volume36
Issue number12
DOIs
StatePublished - Dec 2001

Keywords

  • Actors
  • Continuations
  • Internet
  • Java
  • SALSA

ASJC Scopus subject areas

  • Software
  • Computer Graphics and Computer-Aided Design

Fingerprint Dive into the research topics of 'Programming dynamically reconfigurable open systems with SALSA'. Together they form a unique fingerprint.

  • Cite this