资 源 简 介
AmbientTalk is an experimental object-oriented distributed programming language developed at the Software Languages Lab at the Vrije Universiteit Brussel, Belgium. The language is primarily targeted at writing programs deployed in mobile ad hoc networks.
when: ChatService discovered: { |chatService| when: chatService<-login(roomID, username) becomes: { |chatRoom| chatRoom<-chat("hello world"); // async message send whenever: chatRoom disconnected: { system.println("you"re offline"); }; whenever: chatRoom reconnected: { system.println("you"re online again"); }; };};
AmbientTalk is a research platform to experiment with new language features or programming abstractions to facilitate the construction of software that has to run in highly volatile networks exhibiting intermittent connectivity and little infrastructure.