So who else has noticed the Love 0.7 with JIT (just in time compilation) beta in rude's download folder? Last I checked it had 24 downloads so a few of you out there have grabbed it. Impressions? For me at least, it certainly has sped up some of my heavier calculations tremendously. Obviously overall FPS hasn't been helped much since that's graphics card bound, but CPU stuff is great. I've only found one instance of something that would run fine on normal 0.7 but crash on 0.7 JIT (was trying to link in the LuaXML library). Overall pretty impressive. Thank you developers!
A link for anyone who hasn't seen it:
http://bitbucket.org/rude/love/download ... t-beta.zip
Seems to be Windows only for now.
Too LuaJIT to quit
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Too LuaJIT to quit
Oh, on linux it's a compile-time switch, --enable-luajit. IIRC that is, anyway ./configure --help should show it.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Too LuaJIT to quit
MMMMMmmmmMMMMmmmm
...teresting.
I have not tried it yet. Maybe this weekend.
Is this coming with 0.7 ? Multi-platformerly?
...teresting.
I have not tried it yet. Maybe this weekend.
Is this coming with 0.7 ? Multi-platformerly?
When I write def I mean function.
Re: Too LuaJIT to quit
This seems to work great, I found I HAVE to limit my frames now, just to get some semblance of sanity back, in game the speed.
I've also found that the CPU intensity of love went from 12% to ~2% when in my game! Big step up!
I've also found that the CPU intensity of love went from 12% to ~2% when in my game! Big step up!
My Development Diary - http://shanegadsby.info
- ishkabible
- Party member
- Posts: 241
- Joined: Sat Oct 23, 2010 7:34 pm
- Location: Kansas USA
Re: Too LuaJIT to quit
holy crap why is this not the standerd? LuaJIT is upto 64x faster and in my experience on average of about 4x faster. this is grate. this should be in 1.0 build when ever that comes around. the power of LuaJIT in combination with OpenGL and OpenAL(kinda minute but still) gives love insane speed. why are there only four posts in this topic? this needs to be spread far and wide.
just for the sake of start up times .luac files would be another boost, mostly just for start up times of the game but that is not performance related.
just for the sake of start up times .luac files would be another boost, mostly just for start up times of the game but that is not performance related.
Re: Too LuaJIT to quit
LuaJIT is only available for a small number of platforms, as it does some really hardcore assembly stuff. The 64bit version only came out recently.ishkabible wrote:holy crap why is this not the standerd?
But there is a ./configure option for love 0.7 available...
As for luac: It is already possible to use compiled code (by renaming the bytecode files back to .lua), but it's really not recommended.
- ishkabible
- Party member
- Posts: 241
- Joined: Sat Oct 23, 2010 7:34 pm
- Location: Kansas USA
Re: Too LuaJIT to quit
ya that makes sense. still i have not found any bugs with it so far on windows so i'm gonna keep using it until i find something that is unacceptable.
Re: Too LuaJIT to quit
What version of luajit was used to create this windows package?
I presume beta5, I would like to compile C lua modules, load them with 'require', and be certain I won't have version mismatches on the luajit library used.
Love 0.7 is amazing, keep up the good work!
I presume beta5, I would like to compile C lua modules, load them with 'require', and be certain I won't have version mismatches on the luajit library used.
Love 0.7 is amazing, keep up the good work!
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests