upgrade to lua 5.2 already
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 18
- Joined: Wed Nov 07, 2012 10:24 pm
upgrade to lua 5.2 already
I need bitwise operations
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: upgrade to lua 5.2 already
LuaJIT would be a much better choice. There are even builds of LÖVE which use LuaJIT already: viewtopic.php?f=3&t=8750#p53963
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: upgrade to lua 5.2 already
I second LuaJIT. It makes my math calculations so much faster for my 3D engine. Unless 5.2 is just as fast?
Just pick one that's nice and fast and that's all I care.
Just pick one that's nice and fast and that's all I care.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: upgrade to lua 5.2 already
5.2 is no faster than regular 5.1. I don't believe there is any good reason to want 5.2 instead of LuaJIT, since LuaJIT implements some 5.2 features by default (and more if you ask when compiling it.)Jasoco wrote:I second LuaJIT. It makes my math calculations so much faster for my 3D engine. Unless 5.2 is just as fast?
Just pick one that's nice and fast and that's all I care.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: upgrade to lua 5.2 already
Count me in the Luajit camp too. I think some of the backwards-breaking changes in 5.2 are too gratuitous, and Luajit is way faster.
When I write def I mean function.
-
- Prole
- Posts: 18
- Joined: Wed Nov 07, 2012 10:24 pm
Re: upgrade to lua 5.2 already
thanks, it works greatslime wrote:LuaJIT would be a much better choice. There are even builds of LÖVE which use LuaJIT already: viewtopic.php?f=3&t=8750#p53963
but if I were to share my .love, I'd have to tell them to use love with luajit instead of regular love..
Re: upgrade to lua 5.2 already
I also agree with Luajit being used instead of 5.1 by default as it means everyone gets faster results and those with bad PCs (like me) can run a wider range of LÖVE games at a good speed (especially the 3D ones)
Your screen is very zoomed in...
Re: upgrade to lua 5.2 already
I would like Lua 5.2, but LuaJIT would be a better idea for what people use Love for. In terms of what we'd get from Lua 5.2, I think the _ENV feature is the only thing missing from the most recent version of LuaJIT.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: upgrade to lua 5.2 already
So are there drawbacks to switching to LuaJIT instead of Lua 5.2? I love the speed boost LuaJIT gives us.
Re: upgrade to lua 5.2 already
LuaJit has a limited number of platforms it can run on. But Love runs on less platforms than LuaJit, so it wouldn't be an immediate problem.
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 7 guests