LuaJIT for Civilization V (Faster Turns)

When it comes to load time, I believe Google's V8 JavaScript engine is pretty fast. So are we going to see Civ6 switching to Node.js? I for one, would welcome it - since the event-driven approach of JS works well for mods.
 
Thanks for the explanation!

Seems that it could be of use to me then. However, I think that a real profiler would be 10x more valuable for any Lua coder that is even close to benefiting from LuaJIT.
 
Just checking:
Is it still compatible, being over 2 years old?
I assume it is, but just wanted to check if any of the patches didn't break anything (is that even possible?)
 
I compiled it again, using the latest 2.04 version. There have been so many fixes in the years since the original... http://luajit.org/changes.html
It works well for me using the latest Civ, it is fast :)

lua51_Win32.rar

Just rename the old "lua51_Win32.dll" file, then extract this one into the Civ directory.

I compressed this with WinRAR 5.21, if you use a version before 5 to extract it, things will not go well for you. This will be your fault, not mine. I am a consultant, not tech support :)
http://rarsoft.com/download.htm

Here is a link to the virustotal scan for you paranoid guys ;-)
https://goo.gl/RYB4jm
 
Good. You'll need to use WinRAR.
http://rarsoft.com/download.htm
Yeah, it worked.
(Very strange, normally 7-Zip doesn't have any issues with rar-files** )

Will try it out ASAP.

Thanks for the replies, and of course, thanks for compiling!

** Edit and offtopic, from the 7-zip FAQ:
Why can't 7-Zip open some RAR archives?

7-Zip still doesn't support new RAR 5 format. 7-Zip supports RAR 2/3/4 formats only.
 
I tested with a 60 civ game with 900 seconds turns, using this didn't make a difference
 
I compiled it again, using the latest 2.04 version. There have been so many fixes in the years since the original... http://luajit.org/changes.html
It works well for me using the latest Civ, it is fast :)

lua51_Win32.rar

Just rename the old "lua51_Win32.dll" file, then extract this one into the Civ directory.

I compressed this with WinRAR 5.21, if you use a version before 5 to extract it, things will not go well for you. This will be your fault, not mine. I am a consultant, not tech support :)
http://rarsoft.com/download.htm

Here is a link to the virustotal scan for you paranoid guys ;-)
https://goo.gl/RYB4jm

This works wonders. Highly recommended!
 
It does work wonders, is there a new LuaJIT version we can get, or is this still newest?
 
I compiled it again, using the latest 2.04 version. There have been so many fixes in the years since the original... http://luajit.org/changes.html
It works well for me using the latest Civ, it is fast :)

lua51_Win32.rar

Just rename the old "lua51_Win32.dll" file, then extract this one into the Civ directory.

I compressed this with WinRAR 5.21, if you use a version before 5 to extract it, things will not go well for you. This will be your fault, not mine. I am a consultant, not tech support :)
http://rarsoft.com/download.htm

Here is a link to the virustotal scan for you paranoid guys ;-)
https://goo.gl/RYB4jm
Hey, Ibnarabi. Thank you for posting the file. I tried it (placed the new one in CIV V application file after I moved the other one, but the game doesn't load. I then took the new dll file and placed the original one and it did work. I'm guessing there is a conflict with the new dll file? Any help or advise you could give?
 
Unfortunately, even using the LuaJIT version from the latest Reddit thread, I get no-speed difference at all. Generating maps, playing turns, there just seems to be no-difference whatsoever. They're all exactly the same. I'd like someone to be able to say that it does work, but for me, I get no-difference to playing with the stock .dll . Keep in mind I have 43 Civ CBP, so it might be that causing the problems. But none of the other mods I have would affect it.
 
is this still up to date?

there is an explanation how to compile it, do i have to adjust settings?
 
Top Bottom