logoalt Hacker News

IshKebabyesterday at 5:28 PM2 repliesview on HN

AoT/JIT compilation is a property of the implementation, not the language.

It would be good to know order of magnitude anyway. Like, are we talking Ruby/Python level, etc.


Replies

veqqyesterday at 5:36 PM

In my tests, it's 5-10x Python for long running things (about 30% slower than Fennel on LuaJit) but for small things, because you can easily shift work to compile time, it beats normal Go: https://codeberg.org/veqq/verse-reader#performance

packetlosttoday at 3:34 AM

There’s only one implementation so there isn’t a meaningful distinction here, but sure.

It’s faster than Python and Ruby, about as fast as non-JIT Lua.