6 ms·
It's a shame that it all seems to be up to one person and what he will allow considering how often the shootout is referenced in discussions. I wonder if Mike P
by wriq 15y ago
It's a shame that it all seems to be up to one person and what he will allow considering how often the shootout is referenced in discussions. I wonder if Mike Pall's experience was similar when he posted the Lua/LuaJIT versions.
- scythe 15y agoLua still has no regex-dna because the standard string functions aren't proper regexes (no choice operator) and LPeg isn't available as a Debian package (which is the real problem). 'course, it'd be hard for LuaJIT to do much better in the shootout than it does now. It's beating C#.
- rtaycher 15y agoBetter(actually faster on 1/3, smaller on a 1/3) then mono!!!/c# http://shootout.alioth.debian.org/u32/benchmark.php?test=all&lang=luajit&lang2=csharp http://shootout.alioth.debian.org/u32/benchmark.php?test=all... , mostly slower then java -server http://shootout.alioth.debian.org/u32/benchmark.php?test=all&lang=luajit&lang2=java http://shootout.alioth.debian.org/u32/benchmark.php?test=all... . Still impressive.
- mikemike 15y agoIf the submissions using low-level types would be included in the total score, LuaJIT would show at around 1.5x instead of 2.5x.
- pygy_ 15y agoAFAIK, the LuaJIT entries use custom, optimized scripts.
- igouy 15y agoThey certainly use Mike Pall's expert skill as a Lua programmer and implementer of LuaJIT ;-) But they are Lua programs measured on both the Lua interpreter and LuaJIT. (Programs that rely on the LuaJIT only FFI library and won't work with the Lua interpreter are shown separately.)
- deleted 15y ago[deleted]
- mikemike 15y agoSame experience here with LuaJIT. My submissions using low-level types (byte arrays and such) were put into 'interesting alternative', too. Almost all other languages can use byte arrays, when they are the appropriate data structure for the job. The C submissions make heavy use of GCC extensions, Haskell gets to use mutable (OMG!) byte arrays and Free Pascal has about as much in common with Wirth's Pascal as the name. But Python and Lua are not allowed to do that? Apparently not all languages are treated equally. Dismissing submissions by resorting to a flawed definition of 'standard' and then suppressing further debate is really lame. I contributed almost all of the Lua programs to the shootout, but I do not feel particularly encouraged to continue contributing any programs.
- igouy 15y agoHere's how Alex Gaynor compared his program to your programs- "It's not used to do any crazy hackery like the LuaJIT one, just to access the libc write() function."
- mikemike 15y agoSo what? Look at the C, Ada or ATS submissions for even more 'crazy hackery'. My programs are quite straightforward in comparison.
- igouy 15y agoPlease show that there's some substance behind your "suppressing further debate" accusation. Obviously your opinion wasn't suppressed on proggit. Obviously your opinion wasn't suppressed here. And nothings been done to stop you posting in the discussion forum or commenting in the tracker.
- igouy 15y agoIt's up to you! Take the measurement scripts (download from the Help page), measure programs and publish your measurements.