Would you guys mind if I distribute MCServer + LuaJIT binaries?
#21
Is it possible that you make a Windows version of MCServer with LuaJIT? Smile
Reply
Thanks given by:
#22
I just installed Windows 10 Preview, I'll definitely give it a shot. Smile
Reply
Thanks given by: NiLSPACE
#23
Uploaded Windows x86 binary. Smile
Reply
Thanks given by: NiLSPACE
#24
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.
Reply
Thanks given by:
#25
Well, a bit better is still a step.
Why not integrate it into MCServer source?
Reply
Thanks given by:
#26
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.
Reply
Thanks given by:
#27
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.
Reply
Thanks given by:




Users browsing this thread: 7 Guest(s)