Cuberite Forum
Would you guys mind if I distribute MCServer + LuaJIT binaries? - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Would you guys mind if I distribute MCServer + LuaJIT binaries? (/thread-1834.html)

Pages: 1 2 3


RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - NiLSPACE - 04-16-2015

Is it possible that you make a Windows version of MCServer with LuaJIT? Smile


RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - DiamondToaster - 04-17-2015

I just installed Windows 10 Preview, I'll definitely give it a shot. Smile


RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - DiamondToaster - 04-17-2015

Uploaded Windows x86 binary. Smile


RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - NiLSPACE - 04-17-2015

Thanks Smile

Hmm.. In the train it looked really promising, I had around 17 ch/s with without LuaJit, and around 35 ch/s with LuaJit, but now that I'm home and have the battery on performance mode I only have 3-4 ch/s difference.
EDIT:
but the normal Lua version I used was x64, while the LuaJit version was x86.


RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - tonibm19 - 04-17-2015

Well, a bit better is still a step.
Why not integrate it into MCServer source?


RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - xoft - 04-17-2015

Because LuaJIT doesn't compile on all platforms that we do, and STR's tests are about something that the server normally doesn't use - generating terrain in Lua, rather than the default generators. For normal use cases I still don't think there's enough justification to use LuaJIT.


RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - NiLSPACE - 04-17-2015

While we're talking about changing our current Lua, we could also try to update it to Lua 5.3. A few plugin's might not work anymore (for example setfenv was removed or replaced (not sure)), but we get stuff like integers, utf-8 and more + the changes from Lua 5.2. I especialy like the goto in it (even though I normaly hate goto's, but as long as we don't have continue this is the best we have ^^)
EDIT:
This should probably go to a different thread though.