AmbientTalk/2: Object-oriented Event-driven Programming in Mobile Ad hoc Networks

Elisa Gonzalez Boix, Tom Van Cutsem, Stijn Mostinckx, Stijn Timbermont, Jorge Antonio Vallejos Vargas, Jessie Dedecker, Wolfgang De Meuter

Research output: Chapter in Book/Report/Conference proceedingMeeting abstract (Book)


The recent progress of wireless networks technologies and mobile hardware technologies has lead to the emergence of a new generation of applications. These applications are deployed on mobile devices equipped with wireless infrastructure which collaborate spontaneously with other devices in the environment forming mobile ad hoc networks. Distributed programming in such setting is substantially complicated by the intermittent connectivity of the devices in the network and the lack of any centralized coordination facility. Any application designed for mobile ad hoc networks has to deal with these new hardware phenomena. Because the effects engendered by such phenomena often pervade the entire application, an appropriate computational model should be developed that eases distributed programming in a mobile network by taking these phenomena into account from the ground up. In the previous ECOOP edition, we presented and demonstrated AmbientTalk, a distributed object-oriented programming language specially designed for mobile ad hoc networks.

This demonstration showcases AmbientTalk/2, the latest incarnation of the AmbientTalk programming language which supplants its predecessor while preserving its fundamental characteristics. The language is still a so-called ambient-oriented programming language which allow objects to abstract over transient network failures. This demo will highlight the new design choices in AmbientTalk/2 and the rationale behind them. The most important ones are the adoption of an event-driven concurrency model that provides AmbientTalk/2 with finer grained distribution abstractions making it highly suitable for composing service objects across a mobile network, and the integration of leasing techniques for distributed memory management.

The demo is conceived as a hands-on experience in using the main features of the language where we show and discuss the following:

-The development of an ambient application from ground up that illustrates the simplicity and expressive power of AmbientTalk/2.

-While developing the application, participants become gradually acquainted with AmbientTalk/2's concurrency and distribution object models as well as the dedicated language constructs to deal with partial failures, service discovery and distributed memory management.

-We demonstrate how ambient applications actually behave in a real-life context by showing the execution of a small yet representative application on several portable devices such as laptops and smart phones.

AmbientTalk/2 is available at with documentation and examples.
Original languageEnglish
Title of host publicationDemostration at European Conference on Object-Oriented Programming (ECOOP07), Berlin, Germany
Publication statusPublished - 1 Aug 2007
EventFinds and Results from the Swedish Cyprus Expedition: A Gender Perspective at the Medelhavsmuseet - Stockholm, Sweden
Duration: 21 Sep 200925 Sep 2009


ConferenceFinds and Results from the Swedish Cyprus Expedition: A Gender Perspective at the Medelhavsmuseet


  • ambient intelligence
  • programming languages
  • mobile ad hoc networks
  • language constructs


Dive into the research topics of 'AmbientTalk/2: Object-oriented Event-driven Programming in Mobile Ad hoc Networks'. Together they form a unique fingerprint.

Cite this