![]() |
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) |
Would you guys mind if I distribute MCServer + LuaJIT binaries? - DiamondToaster - 03-16-2015 I'd like to make a repo for these binaries as, at least to my knowledge, they don't exist. I've sucessfully built binaries for ARM/x64 Linux that use LuaJIT instead of regular Lua without much effort. I saw a HUGE difference in speed and hoped it would help RPi2/Beaglebone users out here as well. ![]() RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - sphinxc0re - 03-16-2015 WOW! This is just awesome! RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - DiamondToaster - 03-16-2015 Here, have an unprofessional Dropbox repo: ![]() http://tinyurl.com/mftcvgp RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - sphinxc0re - 03-16-2015 Might there be way to compile this into the project and ship it within the MCServer binary? ATM I have to install luajit. RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - DiamondToaster - 03-16-2015 Hmm, that's odd. Especially since I used a static library. I'll look into it. Seems like it works perfectly with distro-packaged line though. The process was extremely hacky, I was modifying CMake and link.txt files for this to work so I wouldn't doubt it if I did something weird. EDIT: Sorry about that, I forgot to explicitly append .a in a link.txt file. I got a couple of static builds now. Unfortunately I can only target x64 and armhf now for some reason. ![]() RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - xoft - 03-16-2015 I was wondering if the speed increase from LuaJIT was anything noticable in the "regular use cases" - not something as synthetic as sending 10k messages, but normal gameplay. I don't think it's a bottleneck, but if it becomes something worthwhile, we might want to look at integrating LuaJIT in the base repo. RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - NiLSPACE - 03-16-2015 Good point. It might also be worth checking if a Lua world generator is faster in LuaJIT. As far as I know the only Lua generator we currently have is my FloatingIsland plugin. RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - DiamondToaster - 03-16-2015 I did notice a bit of a difference with my Beaglebone Black, a less capable device compared to the RPi2. It especially helped to decrease input lag on hooks such as left/right-click on my custom gamemode plugins. Now people at least have the option to do this, it compiled pretty seemlessly after some editing. ![]() RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - worktycho - 03-16-2015 Can you post the changes needed. We might be able to make a less hacky version. RE: Would you guys mind if I distribute MCServer + LuaJIT binaries? - sphinxc0re - 03-16-2015 It would be awesome having this in the main repo! Many of my friends tell me that bigger plugins aren't that fast on MCServer and a big German Minecraft community is most likely going to switch to MCServer soon. |