Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The only problem with Lua is how slow it is. I'm quite fond of LuaJIT, though, because it isn't slow.


This is the first time I've read this sentiment, Lua is purported to have one of the leanest, fastest interpreters around (not talking about luajit of course). Can you talk about your experience?


The Grit Engine [1] and Love2D [2] are fun, useful engines that make making games easier, in Lua. Except they're slow as all get out; the only cap on the framerate is literally Lua. If you don't use spritesheeting to its maximum degree, you can't even squeeze out 60fps for a moderate size game.

[1]: http://www.gritengine.com/

[2]: https://love2d.org/


Sounds like a design fault in gritengine and love2d, not lua.


Try MOAI then. Its much, much better ..


Lua is quite fast. The algorithms you can implement in Lua are all slow unless you want to make an optimized structure for every kind of lookup you want to do. Lua reminds me of a hobbled javascript.


Right, that is of course the truth: LuaJIT is fast.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: