Home » Programming » Lua

Distributed Programming in Lua

Distributed Programming in Lua thumbnail Content Inside: Distributed Programming in Lua Noemi Rodriguez PUC-Rio Distributed Programming shift to wide area loose-coupling asynchronism highly dynamic execution conditions different settings require different paradigms and abstractions how can programming language features help? ALua Asynchronous Lua asynchronism wide area computing alua.send (dest, ) arrival of message is an event handler executes chunk of code ALua alua.send(B, send(A, print(. c.)) ) A B send(A, print(. c.)) send(A, print(. c.)) c print(10) print(10) 10 alua.inf.puc-rio.br alua programming model compatible with interpreted languages highly flexible but not very secure single-threaded each event is handled to completion example: Job Management with alua local resource manager for Globus direct use of ALua allocation, deallocation, and migration(?) system aspects CPU and memory variability application aspects bad parameters or starting points importance of interactivity programming models ALua: low abstraction level programs as state machines lots of string manipulation many settings require more support. higher-level Abstractions: Classication libraries awkward APIs freely combined in applications specific languages easier to use support for specific paradigms reflection and extension combined advantages. ALua & abstractions DALua distributed algorithms LuaRPC LuaTS tuple space LuaPS publish/subscribe . ease of integration: research & education important features of lua functions as first-class values and other functional mechanisms closures reflexive mechanisms allow us to redefine language behavior in case of exceptions invocation of non-existing methods cooperative concurrency (coroutines) high level abstractions can be easily built DALua distributed algorithms library very near to basic model important as teaching tool DA classically described as a series of responses to events example: classical Ricart&Agrawala algorithm for mutual exclusion on ...
Source: www.lua.org

 


Share it with your favorite bookmark service:

add to Google Reader add to Google Bookmark add to Yahoo MyWeb add to digg Bookmark del.icio.us Bookmark StumbleUpon Bookmark technorati add to bloglines add to newsgator add to Netscape Bookmark blinklist add to FURL add to webnews add to spurl.net add to diigo Bookmark Slashdot

Search Terms: , , , , , , , , , , , , , , , , , , ,