3 ms·
The most impressive result here is Lua -- not far behind C! LuaJIT is amazing. Good to see a few languages like Nim and Rust actually beating C for raw perform
by iainmerrick 8y ago
The most impressive result here is Lua -- not far behind C! LuaJIT is amazing.
Good to see a few languages like Nim and Rust actually beating C for raw performance, too.
- wlesieutre 8y agoAm I reading it wrong or did LuaJIT take 113x as long as C?
- ddlutz 8y agoIt sure looks that slow to me.
- iainmerrick 8y agoHa, you’re right, I totally misread it! I read it as seconds and not minutes, doh. :)
- Narishma 8y agoYou should look again. Lua seems to be the slowest of the bunch.
- iainmerrick 8y agoWhoops, yes, you’re right! Now I’m tempted to try speeding it up, there’s no way it should be behind Python...
- w0utert 8y agoI haven’t checked the code, but I’m also hugely surprised Lua did so poorly. Even the default non-JIT interpreter should be way faster than Python.
- Mac2125 8y agoSarcasm?
- iainmerrick 8y agoUnfortunately for me, Hanlon’s Razor applies.