4 ms·
It's a scripting language, so it's not going to compete with anything compiled or JITed, but it has a pretty efficient threaded bytecode interpreter (that is al
by packetlost 4mo ago
It's a scripting language, so it's not going to compete with anything compiled or JITed, but it has a pretty efficient threaded bytecode interpreter (that is almost more interesting than the language itself!). It's certainly good enough for most situations where you would reach for a scripting language.
- IshKebab 4mo agoAoT/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.
- veqq 4mo agoIn 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 https://codeberg.org/veqq/verse-reader#performance
- packetlost 4mo agoThere’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.