Like the title says, LuaJIT 2.0.4 was released somewhat recently and it has a bunch of various fixes/improvements. (http://luajit.org/changes.html)
Is there a chance you guys could update LuaJIT to 2.0.4 in 0.10.0?
Thanks in advance for the answer.
Update to LuaJIT 2.0.4?
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Update to LuaJIT 2.0.4?
That's a good point. From what I read, 2.0.4 is all bugfixes, so it should be an easy update (not that I know anything about C/C++)
When I write def I mean function.
Re: Update to LuaJIT 2.0.4?
As for the lastest version lua is provided as an external library (at least on Windows), just switching the lua51.dll/so should work, no? Is there any pre-build binaries somewhere?
-
- Party member
- Posts: 106
- Joined: Sat Jun 21, 2014 3:45 pm
Re: Update to LuaJIT 2.0.4?
Nah, gotta build that shit.Fenrir wrote:As for the lastest version lua is provided as an external library (at least on Windows), just switching the lua51.dll/so should work, no? Is there any pre-build binaries somewhere?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Update to LuaJIT 2.0.4?
Can I gloat about the wonders of dynamic linking? I've been running love against luajit 2.0.4 since the 21st of May.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Update to LuaJIT 2.0.4?
Indeed, you can replace the version of LuaJIT normally used by LÖVE with your own right now if you want – on all operating systems.
I try to use the most recent versions of all dependencies for new releases of LÖVE, so 0.10.0 will come with LuaJIT 2.0.4 where possible (and LuaJIT 2.1-alpha on iOS, since it's the only version of LuaJIT to fully support iOS.)
I try to use the most recent versions of all dependencies for new releases of LÖVE, so 0.10.0 will come with LuaJIT 2.0.4 where possible (and LuaJIT 2.1-alpha on iOS, since it's the only version of LuaJIT to fully support iOS.)
-
- Party member
- Posts: 106
- Joined: Sat Jun 21, 2014 3:45 pm
Re: Update to LuaJIT 2.0.4?
What the hell, last time I tried switching .dlls up it resulted in crashes.slime wrote:Indeed, you can replace the version of LuaJIT normally used by LÖVE with your own right now if you want – on all operating systems.
Re: Update to LuaJIT 2.0.4?
It shouldn't if you do it right.... luajit was intended to be a drop-in replacement so that a project for lua 5.1 literally just has to replace the lua dll to use luajit instead. I love dynamic linking.Whatthefuck wrote:What the hell, last time I tried switching .dlls up it resulted in crashes.slime wrote:Indeed, you can replace the version of LuaJIT normally used by LÖVE with your own right now if you want – on all operating systems.
Are you sure you didn't remove any wrong dlls? Also what LOVE version did you try this with? If you tried 0.8.0 I think this version uses standard lua 5.2 so it is not compatible with luajit.
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
Re: Update to LuaJIT 2.0.4?
it was possible to use luajit with 0.8.0 I remember people doing that (here: viewtopic.php?t=7735&f=4)I~=Spam wrote:It shouldn't if you do it right.... luajit was intended to be a drop-in replacement so that a project for lua 5.1 literally just has to replace the lua dll to use luajit instead. I love dynamic linking.Whatthefuck wrote:What the hell, last time I tried switching .dlls up it resulted in crashes.slime wrote:Indeed, you can replace the version of LuaJIT normally used by LÖVE with your own right now if you want – on all operating systems.
Are you sure you didn't remove any wrong dlls? Also what LOVE version did you try this with? If you tried 0.8.0 I think this version uses standard lua 5.2 so it is not compatible with luajit.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Update to LuaJIT 2.0.4?
We have never shipped a version of love using lua 5.2. This does mean however, that you can swap out luajit and lua 5.1, but not 5.2 (or 5.3) though all of those versions are supported by love at a source level.I~=Spam wrote:If you tried 0.8.0 I think this version uses standard lua 5.2 so it is not compatible with luajit.
Who is online
Users browsing this forum: Ahrefs [Bot] and 7 guests