Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Regular Lua interpreter vs LuaJIT interpreter? [closed]

So, I was just wondering if there are any advantages of using the normal Lua interpreter instead of the LuaJIT interpreter for anything?

like image 805
guy0001 Avatar asked May 28 '26 21:05

guy0001


1 Answers

  • PUC Lua (the "normal interpreter") is more stable, i.e. bugs are more frequently found in LuaJIT.

  • PUC Lua is smaller, i.e. it takes less memory.

  • PUC Lua is much easier to understand if you want to customize it.

  • PUC Lua has been ported to way more platforms and is easier to port.

  • Like @lhf said, LuaJIT does not support all of Lua 5.2 features yet.

like image 87
catwell Avatar answered May 31 '26 16:05

catwell