3 ms·
Is there something about lua that makes it amenable to the performance of luaJIT? In priciple, would it be possible to get comparable performance out of someth
by omginternets 10y ago
Is there something about lua that makes it amenable to the performance of luaJIT? In priciple, would it be possible to get comparable performance out of something like pypy?
In other words: is getting pypy to perform like luajit "just" a matter of time/money/expertise, or are there technical considerations?
- icebraining 10y agoMike Pall said, Well, nothing really. It's just a matter of engineering, i.e. man-years put into the VM and the compiler. He has a few posts on Reddit regarding this subject: https://www.reddit.com/user/mikemike https://www.reddit.com/user/mikemike
- Veedrac 10y agoThat quote was in context of What in your opinion keeps LuaJITs performance away from C/C++, i.e. what other "hard" things need to be solved?
- omginternets 10y agoTBH that was the spirit of my question. I was wondering if there was something special about Lua (the language), and it seems like the answer is a resounding "no". So basically, I should donate to pypy...
- Veedrac 10y agoI'm not sure I could call that "resounding" - for one a PyPy dev disagreed with him in a sibling thread. > Yes, you can go a long way without extra APIs etc, but sometimes there is info that's available, that's simply not there, because it's only in a programmers head. https://www.reddit.com/r/programming/comments/19gv4c/why_python_ruby_and_js_are_slow/c8owc5t/ https://www.reddit.com/r/programming/comments/19gv4c/why_pyt...
- deleted 10y ago[deleted]