3 ms·
>5. I wonder which implementation of Lua they used. Lua can be pretty fast, one of the fastest dynamic languages out there. I looked at the binary trees benchm
by copx 9y ago
>5. I wonder which implementation of Lua they used. Lua can be pretty fast, one of the fastest dynamic languages out there.
I looked at the binary trees benchmark and while the Python version used multiprocessing to parallelize the code, the Lua version was not parallelized at all..
.. not that this is entirely unrealistic. Python comes with MP in the standard library while I am not aware of any "industrial strength" solution for Lua, whether MP or thread-based.
- igouy 9y agoFor an interested Lua programmer, there's a kind-of workable approach -- http://benchmarksgame.alioth.debian.org/u64q/program.php?test=mandelbrot&lang=lua&id=6 http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...
- wruza 9y agoIdk if it is industrial strong, but there is lanes and probably few more listed at lua-users. Do you have any experience to share on these? The choice of 5.3 is pretty strange, as Lua is known to split in two at 5.2, because LuaJIT was fixed to 5.1 variant with compat backports and is to my opinion an "industrial" Lua standard. 5.x are actually three different (but not absolutely superior to each other) languages with shared 5-like foundation and app-level code compatibility, so speaking about Lua in general is pointless in a sense. http://lualanes.github.io/lanes/ http://lualanes.github.io/lanes/ http://lua-users.org/wiki/MultiTasking http://lua-users.org/wiki/MultiTasking
- etiene 9y agoThe industry standard in Lua is to have multiple Lua states doing stuff. A different approach, but it is there