|
|
Exploring Lua for Concurrent Programming
|
|
|
|
|
نویسنده
|
Skyrme Alexandre ,Rodriguez Noemi ,Ierusalimschy Roberto
|
منبع
|
journal of universal computer science - 2008 - دوره : 14 - شماره : 21 - صفحه:3556 -3572
|
چکیده
|
The popularization of multi-core processors and of technologies such as hyper-threading demonstrates a fundamental change in the way processors have been evolving and also increases interest in concurrent programming, particularly as a means to improve software performance. however, concurrent programming is still considered complex, mostly due to difficulties in using the available programming models, which have been subject to recurring criticism. the increased interest in concurrency and the lack of proper models to support it stimulates the development of proposals aimed at providing alternative models for concurrent programming. in this paper, we work with some of lua’s facilities to explore such a model, based on user threads and message passing. we also demonstrate why lua was particularly well suited for this objective, describe the main characteristics of the explored model and present a library developed to implement it, along with results of a performance evaluation.
|
کلیدواژه
|
Lua ,preemptive multithreading ,non-preemptive multithreading ,con- currency ,luaproc ,message passing
|
آدرس
|
Pontifical Catholic University of Rio de Janeiro (PUC–Rio), Brazil, Pontifical Catholic University of Rio de Janeiro (PUC–Rio), National Education and Research Network (RNP, Brazil, Pontifical Catholic University of Rio de Janeiro (PUC–Rio), Brazil
|
پست الکترونیکی
|
roberto@inf.puc-rio.br
|
|
|
|
|
|
|
|
|
|
|
|
Authors
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|