[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua Lanes - ready ... almost :/
- From: askok@...
- Date: Wed, 14 Mar 2007 13:48:34 +0200
Features are there, selftests work ("make test") but when
running performance tests ("make perftest") the system
abruptly fails.
Since "thousand eyes find more bugs" I'd like to ask your
help to iron out the remaining issues. You will get your
name on the credits! ;)
Even now, Lua Lanes is feature-wise worth a study and will
be made public once the remaining issues are out. And -
interesting enough - once performance figures are known.
http://kotisivu.dnainternet.net/askok/bin/lanes/testing.tgz
-asko
"Lanes is a lightweight, native, lazy evaluating
interthread calling mechanism
for Lua 5.1. It allows efficient use of multicore
processors in Lua, by passing
function calls into separate OS threads, and separate Lua
states.
No locking of the threads is needed, only launching and
waiting for (if needed)
a thread to get ready. Simple receive/send communications
using native Lua
data types (bool, number, string, table) are available
between the master and
the sub threads, but not between separate threads. That
can be covered using
a separate communications module (s.a. DBUS).
Lua Lanes supports both Win32 and PThread threading
models, allowing for usage
on at least the following platforms:
- Mac OS X
- Microsoft Windows
- Linux
- BSD
Distribution of Lua Lanes is intended to be done with the
upcoming Lua Rocks
initiative."