lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


What is the current status with Lua Lanes on LuaJIT2?

I did try the latest version found on GitHub.

And it looks like it is still relying on a bytecode dump for copying functions.

Is there a way to avoid that, is there a way to get it working for a small example?

For my purposes it would already be sufficient to have a shared linda object between two lanes that are perhaps started somehow upfront in an MPI-like style, just handing in a rank-id to know which lane is which, and the linda object.


On 16 Dec 2010, at 16:40, Laurent Poujoulat wrote:

> So it seems we have to modify LANES to use source code.
> Many thanks
> Le 16/12/2010 16:37, Michal Kottman a écrit :
>> On Thu, 2010-12-16 at 15:58 +0100, Laurent Poujoulat wrote:
>>> Yes it's true. But my understanding was the LUAJIT was compatible with
>>> LUA standard bytecode ? How to generate the bytecode then ?
>> LuaJIT 2.0 does not support loading of standard Lua generated binary
>> bytecode (AFAIK LuaJIT 1.x did), and cannot dump/generate bytecode
>> either. You have to use source code in LuaJIT 2.0.

Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
Phone: +32 2 629 2974
Fax:   +32 2 629 3525