LuaJIT

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

LuaJIT

Post by Luiji » Sun Jun 13, 2010 8:05 pm

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).
Good bye.

User avatar
thelinx
The Strongest
Posts: 848
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: LuaJIT

Post by thelinx » Sun Jun 13, 2010 8:19 pm

LuaJIT doesn't support all architectures out there.

User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Re: LuaJIT

Post by Luiji » Sun Jun 13, 2010 8:41 pm

Aw. Well that idea died quickly.
Good bye.

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: LuaJIT

Post by bartbes » Sun Jun 13, 2010 9:20 pm

If it was a lib, so we could fall back to normal lua we might do it, but sadly, it isn't.

alexandream
Prole
Posts: 2
Joined: Thu Jun 10, 2010 5:18 am

Re: LuaJIT

Post by alexandream » Sun Jun 13, 2010 10:20 pm

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'

User avatar
thelinx
The Strongest
Posts: 848
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: LuaJIT

Post by thelinx » Sun Jun 13, 2010 10:37 pm

alexandream wrote:It was I who suggested it on IRC, anyways ^^
It's been suggested a lot of times.

User avatar
Elvashi
Prole
Posts: 45
Joined: Sat Jul 04, 2009 9:17 am
Location: Australia

Re: LuaJIT

Post by Elvashi » Mon Jun 14, 2010 1:08 am

Its not a lib? Then what is it? Surely it could be supported as an alternate, used only on platforms that support it? :confuzzled:
"We could make a program for doing this for you, but that is for the LÖVE IDE, planned to be released in March 2142." ~mike
Networking with UDP uLove Proposal CCG: Gangrene

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: LuaJIT

Post by bartbes » Mon Jun 14, 2010 5:25 am

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.

User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Re: LuaJIT

Post by Luiji » Sat Jun 19, 2010 8:47 pm

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...
Good bye.

User avatar
rude
Administrator
Posts: 1051
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: LuaJIT

Post by rude » Sat Jun 19, 2010 9:16 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests