04-16-2015, 10:54 PM
Is it possible that you make a Windows version of MCServer with LuaJIT?
Would you guys mind if I distribute MCServer + LuaJIT binaries?
|
04-16-2015, 10:54 PM
Is it possible that you make a Windows version of MCServer with LuaJIT?
04-17-2015, 05:27 AM
I just installed Windows 10 Preview, I'll definitely give it a shot.
Thanks given by: NiLSPACE
Thanks
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.
04-17-2015, 11:12 PM
Well, a bit better is still a step.
Why not integrate it into MCServer source?
04-17-2015, 11:33 PM
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.
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. |
« Next Oldest | Next Newest »
|