It seems LuaJIT and LÖVE are a match made in heaven. The (massive) speed boost provided by LuaJIT would allow making much more demanding games in LÖVE.
I just want to know whether the integration of LuaJIT is planned or not. I know that some people had success building LÖVE with LuaJIT themselves. I am talking about binaries being available here / LuaJIT officially replacing vanilla Lua.
Will we ever see LuaJIT powered LÖVE?
- Hexenhammer
- Party member
- Posts: 175
- Joined: Sun Feb 17, 2013 8:19 am
Re: Will we ever see LuaJIT powered LÖVE?
http://love2d.org/forums/viewtopic.php?f=3&t=8750
The second post in this thread has builds for LöveJIT. I don't know if you've seen these before. I believe there has been some talk of fully integrating the two.
The second post in this thread has builds for LöveJIT. I don't know if you've seen these before. I believe there has been some talk of fully integrating the two.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Will we ever see LuaJIT powered LÖVE?
In the past, the main reason why LuaJIT hasn't been used over Lua in the official LÖVE distributions is because LuaJIT was still in beta. Perhaps it will be used by default in the next LÖVE version.
- Hexenhammer
- Party member
- Posts: 175
- Joined: Sun Feb 17, 2013 8:19 am
Re: Will we ever see LuaJIT powered LÖVE?
Great, thanks!Qcode wrote:http://love2d.org/forums/viewtopic.php?f=3&t=8750
The second post in this thread has builds for LöveJIT.
No, I haven't. For some strange reason I did not think about looking at that threadI don't know if you've seen these before.
Re: Will we ever see LuaJIT powered LÖVE?
the potential massive speed boostHexenhammer wrote:The (massive) speed boost provided by LuaJIT would allow making much more demanding games in LÖVE.
code that contains love api calls (or any calls to c libraries not bound through the ffi) likely isn't going to get much faster
very mathy or otherwise pure lua code on the other hand...
- Hexenhammer
- Party member
- Posts: 175
- Joined: Sun Feb 17, 2013 8:19 am
Re: Will we ever see LuaJIT powered LÖVE?
According to my tests LuaJIT makes even simple table operations (no direct math) about 8 times faster. This is big, and very useful for performance critical code like the AI (e.g. pathfinding). I am actually perfectly comfortable with C/C++ but I am using LÖVE because it's more fun and I am much more productive. I really hope to be able to write everything in Lua instead of having to fall back on some custom-built LÖVE with C extensions.Xgoff wrote:the potential massive speed boostHexenhammer wrote:The (massive) speed boost provided by LuaJIT would allow making much more demanding games in LÖVE.
code that contains love api calls (or any calls to c libraries not bound through the ffi) likely isn't going to get much faster
very mathy or otherwise pure lua code on the other hand...
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Will we ever see LuaJIT powered LÖVE?
LuaJIT is indeed much faster. There is no question about it. It is very noticeable in my current 3D project where LuaJIT helps perform the 3D math much faster.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Will we ever see LuaJIT powered LÖVE?
First of all, if you need to fall back to c extensions you're probably doing something wrong, like Jasoco here (no offense, but you know what I mean).
Anyway, in most games luajit doesn't have too much of an effect, regardless of how much faster it makes lua, since most games tend to spend most of their time rendering anyway.
Anyway, in most games luajit doesn't have too much of an effect, regardless of how much faster it makes lua, since most games tend to spend most of their time rendering anyway.
- Hexenhammer
- Party member
- Posts: 175
- Joined: Sun Feb 17, 2013 8:19 am
Re: Will we ever see LuaJIT powered LÖVE?
I am quite sure I don't, thanks. Not everyone wants to code a Mario or Space Invaders clone. Many games have very demanding AI requirements and there is no such thing as enough performance in that case. E.g. real pathfinding for many actors on a larger map is extremely demanding.bartbes wrote:First of all, if you need to fall back to c extensions you're probably doing something wrong
I don't want to try to guess what "most games" do but my games certainly don't.Anyway, in most games luajit doesn't have too much of an effect, regardless of how much faster it makes lua, since most games tend to spend most of their time rendering anyway.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Will we ever see LuaJIT powered LÖVE?
None taken.. wait, what? Explain what you mean because I know not of it.bartbes wrote:First of all, if you need to fall back to c extensions you're probably doing something wrong, like Jasoco here (no offense, but you know what I mean).
Who is online
Users browsing this forum: No registered users and 3 guests