2 ms·
What about Lua? The language is very minimal, memory safe, and has Pascal-like syntax just like Delphi.
by gucci-on-fleek 9mo ago
What about Lua? The language is very minimal, memory safe, and has Pascal-like syntax just like Delphi.
- ptx 9mo agoLua's variables being global by default seems somewhat error-prone.
- gucci-on-fleek 9mo agoAgreed, but the recently-released v5.5 fixes that [0], and it's fairly easy to fix this in older versions with the following snippet setmetatable(_G, { __newindex = false, __index = false }) [0]: https://www.lua.org/manual/5.5/manual.html#2.2 https://www.lua.org/manual/5.5/manual.html#2.2
- andrewstuart 9mo agoverything is an off by one error in Lua.
- gucci-on-fleek 9mo agoOr conversely, everything is an off-by-one error in every other language :)
- ahartmetz 9mo ago*everythin