4 ms·
>The first topic he raised, "why Python is slow", is somewhat divisive What dynamic, interpreted, single threaded language is fast?
by DeathArrow 5y ago
>The first topic he raised, "why Python is slow", is somewhat divisive
What dynamic, interpreted, single threaded language is fast?
- Qem 5y agoLua (LuaJIT implementation). Some Smalltalk VMs are also quite fast. For example, see Eliot Miranda work on CogVM.
- astrobe_ 5y agoYour pushing it a bit too far if you say that JIT is interpreted. To answer OP, if you replace "dynamic" by "untyped", Forth qualifies. And it actually can go where there's no JIT to save your A from the "just throw more hardware (and software) at the problem" mindset.
- Qem 5y agoI think someone once said dynamic langs must cheat to be performant. Jitted runtimes are just interpreters cheating.
- brokencode 5y agoAs far as interpreted languages go, Wren is pretty quick, but still not fast compared to compiled languages. But for dynamic, single threaded languages, JavaScript is famously fast with a modern JIT compiler like V8.
- baisq 5y agoPractically every other language that ticks those boxes is faster than Python.
- bsder 5y ago> What dynamic, interpreted, single threaded language is fast? Javascript. End of list. The problem is that a Javascript implementation is now so complicated that you can't develop a new one without massive investment of resources.
- DeathArrow 5y agoInterpreted Javascript is slow. Most modern Javascript implementation use JIT.