People that use lua, what do you use it for and why did you pick lua?
Lua 5.4.0 beta
61–70 of 103 posts
Re: Lua 5.4.0 beta
#62People that use lua, what do you use it for and why did you pick lua?
Re: Lua 5.4.0 beta
#63Re: Lua 5.4.0 beta
#64We use Lua 5.1 in an embedded system and it works great. We use only a few standard libraries and have several dozen of our custom libraries exposed as Lua APIs. Predictable memory usage is really good. It's several years since we picked the then current version of Lua and have had no reason to upgrade. What would be the motivations to upgrade to a new Lua version on an embedded system where there is a working versio…
Re: Lua 5.4.0 beta
#65We use Lua 5.1 in an embedded system and it works great. We use only a few standard libraries and have several dozen of our custom libraries exposed as Lua APIs. Predictable memory usage is really good. It's several years since we picked the then current version of Lua and have had no reason to upgrade. What would be the motivations to upgrade to a new Lua version on an embedded system where there is a working versio…
Anyway, you can find a summary of changes since 5.1 here: https://www.lua.org/versions.html
One of the biggest changes was the introduction of 64 bit integers in Lua 5.3
Perhaps my favorite little change is that you don't need to type = in the repl to print an expression anymore.
Re: Lua 5.4.0 beta
#66Re: Lua 5.4.0 beta
#67We use lua 5.3 on an embedded Platform for scripting and it has been a roller coaster ride. Not a fun one, unfortunately. You want luasocket? The stable one is not compatible with 5.3. Packages are sometimes outdated (for years no updates) and there is no replacement. The lua point releases have breaking changes. The source code itself is a macro hell which is hard to debug. And the code is not very readable. The doc…
> The documentation lacks for some topics of you use the c api. I'm surprised to hear this. I'm doing a lot of Lua and I always thought the documentation is very succinct and complete. I really curious when issues you ran into. > The thing is lua on embedded has no rival. but god did it cost me some nerves. You might take a look at https://bellard.org/quickjs/ and https://duktape.org/ . The latter seems oddly familia…
Re: Lua 5.4.0 beta
#68This is probably not the right place to ask but ..., given that Lua is commently embedded in games, anyone know of a sandboxed version? I'd love to provide a scripting language for user mods to a game but I'd like as much as possible to not have to trust the mods.
Re: Lua 5.4.0 beta
#69Re: Lua 5.4.0 beta
#70This is probably not the right place to ask but ..., given that Lua is commently embedded in games, anyone know of a sandboxed version? I'd love to provide a scripting language for user mods to a game but I'd like as much as possible to not have to trust the mods.