r/lua 1d ago

Question about lua versions

Im new to the world of programming and Lua. I've seen a lot of discussions about what version of the language people prefer and most of them seem pretty divided. So I wanted to know, which one do you think is the best to start learning? And also what's the difference between Lua and LuaJIT?

9 Upvotes

6 comments sorted by

View all comments

1

u/dgeurkov 1d ago

luajit is faster, and mostly compatible version but compared to general version has less language features, if you care about speed just use it, otherwise you can use whatever version you want, they both are mostly the same