It's my custom to try out programs on a Linux machine first, before trusting it to run under Windows.
Thus, I was disappointed to find that I could not even compile the source code, due to the unstated dependency on LuaJIT.
Or is there a way to turn the compile option off, to use LuaJIT, within premake4?
I'm based on lua5.1 BTW.
More importantly:
When I run the Linux 32 binary on my Linux laptop, the CPU usage goes to 100% and stays there. This laptop is a single-core, which is prone to overheat easily at continuous 100% CPU usage. On the other hand, my Windows 7 x64 is a quad-core, which is simply much too powerful to run at 100% CPU usage. It would be a waste, even if I do have 3 other real cores. I tend not to trust any software that exercises even one core at 100%.
Now the Beta-31 Linux binary does not produce a slowdown. Some slowdown was reported on anther thread, and the solution was suggested to add
Code: Select all
collectgarbage("setpause",100)
collectgarbage("setstepmul",400)
collectgarbage("restart")
I understand that it's an easy mistake to make in any programming environment, to put busy-wait loops, or to forget to put a Sleep() instruction.
But it's also just an easy mistake to make, just to hit another car when driving.
In any case, while this example of 100% CPU usage doesn't produce a slowdown under Linux, the same bug just might under Windows.
Dirk