Page 1 of 3

LuaJIT

Posted: Sun Jun 13, 2010 8:05 pm
by Luiji
Somebody suggested this on the IRC but I don't remember who.

Using an alternative to Lua mainstream such as LuaJIT might do well, as LuaJIT uses Just-In-Time compilation, which is known for increasing the speed of execution noticeably.

I am also designing a virtual machine which will support much of the Lua functionality and will have an API that is compatible with mainstream Lua, so if the above idea sounds cool but you are going to put it off for awhile then maybe you could wait until I finish my virtual machine (codename NanoVM).

Re: LuaJIT

Posted: Sun Jun 13, 2010 8:19 pm
by thelinx
LuaJIT doesn't support all architectures out there.

Re: LuaJIT

Posted: Sun Jun 13, 2010 8:41 pm
by Luiji
Aw. Well that idea died quickly.

Re: LuaJIT

Posted: Sun Jun 13, 2010 9:20 pm
by bartbes
If it was a lib, so we could fall back to normal lua we might do it, but sadly, it isn't.

Re: LuaJIT

Posted: Sun Jun 13, 2010 10:20 pm
by alexandream
Oh well, too bad it doesn't cut it. But it is a good reason, indeed.

It was I who suggested it on IRC, anyways ^^

By the way, this is my first post in this forum! And I still don't obey... :shock:

-- Alexandre, aka 'alarmo'

Re: LuaJIT

Posted: Sun Jun 13, 2010 10:37 pm
by thelinx
alexandream wrote:It was I who suggested it on IRC, anyways ^^
It's been suggested a lot of times.

Re: LuaJIT

Posted: Mon Jun 14, 2010 1:08 am
by Elvashi
Its not a lib? Then what is it? Surely it could be supported as an alternate, used only on platforms that support it? :confuzzled:

Re: LuaJIT

Posted: Mon Jun 14, 2010 5:25 am
by bartbes
It's a complete build, if we were to integrate it and we need to retain support for normal lua, thinks would get freaky, not to mention freakily large.

Re: LuaJIT

Posted: Sat Jun 19, 2010 8:47 pm
by Luiji
Ahem, I just read the documentation for LuaJIT and it says that it can be used as a "drop-in replacement for standard Lua", implying we don't have to do any coding, and simply replace the libraries...

Re: LuaJIT

Posted: Sat Jun 19, 2010 9:16 pm
by rude
LuaJIT has been planned since ages ago. I think it would great if we could use that instead of regular Lua on the platforms that support it.