r/programming • u/f311a • Aug 04 '26
The Lua community needs to learn to move on
https://hisham.hm/2026/08/04/the-lua-community-needs-to-learn-to-move-on/
552
Upvotes
r/programming • u/f311a • Aug 04 '26
253
u/Grouchy-Trade-7250 Aug 04 '26
Oh that's awful to hear. I would never report a bug without downloading the latest version first and checking there too. And also checking the source if I can to see if there's a comment about it.
667
u/pickering_lachute Aug 04 '26
“If Roberto and Mike are EOLing the interpreters, maybe we should be doing the same for the libraries. If people really want to be using very very old versions of Lua, they should be using very very old versions of the supporting ecosystem as well, and not forcing maintainers into supporting 20+ years of legacy at all times.”
This is absolutely the way to go. If there’s one way to bring on developer burn out it’s supporting a multitude of different versions and having to debug the most random of bugs
105
u/nicholashairs Aug 04 '26
Based on the title alone I was expecting a sassy/snarky post about not using Lua. I was so wrong.
Even though I'm not involved in Lua, I totally agree with the post.
I maintain a major package in the python ecosystem, and although I maintain some extra backwards compatibility for security fixes, anything these is always only in the most recent package version, and only on recent versions of the python interpreter.
78
u/crisp_lynx_370 Aug 04 '26
the lua 5.1 lock-in is mostly because luaJIT never caught up, and migrating anything perf-sensitive to a newer interpreter means giving up jit entirely which is just not a tradeoff most game devs or embedded folks can stomach
35
u/munificent Aug 05 '26
Embedded programming language ecosystems are in a tricky stand-off:
Over the past several years, I've seen several languages move to a model where there is some sort of explicit versioning built into the language. Rust has editions. Dart has language versioning. This gives language maintainers a way to ship nominally breaking changes without spontaneously breaking the entire ecosystem. But it comes at a high cost of having to maintain an implementation that simultaneously supports multiple slightly incompatible versions of the same language.
That seems antithetical to Lua's goals around simplicity, so likely wouldn't fly here. The next best thing might be for a host application maintainer to embed multiple different versions of the Lua VM and give user scripts a way to choose which one they want. Then their ecosystem can gradually migrate onto the newer version. Eventually once enough of the ecosystem is there, old versions can be dropped from the host app.
19
u/DeliciousIncident Aug 05 '26 edited Aug 05 '26
I sympathize with the maintainers, but removing git tags is just pure evil, it should never have been done as it hurts benign users who are aware of the EOL nature of those releases (are not going to be filing any issues for them) but need to use a particular version.
As the blog post says, just EoL older releases, i.e. close the issues for them with WONTFIX or EOL. You can even automate this if you want - force anyone creating an issue specify which version it is about using a drop-down of predefined versions via GitHub issue template, and have a GitHub Actions CI script that runs on the even type of "new issue created", checks if the specified version is EOL, and if it is - closes the issue with a pre-defined message and tags.
93
u/yanitrix Aug 04 '26
look, it's the computer craft language!
73
u/Somepotato Aug 04 '26
luaJIT is always looking for contributors. here's a good first PR
18
u/laffer1 Aug 05 '26
Deleting versions makes it harder to track when things were fixed. I hate that.
I get not supporting old releases.
36
u/chengiz Aug 05 '26
We wouldnt be stuck on old versions if Lua didnt break backward compatibility with every new version.
5
u/Dragdu Aug 05 '26
It feels like removing old tags is much more of a symbolic gesture than real solution. People stuck to old versions can just use the commit hashes, and still be stupid about reporting bugs for old software.
8
u/pacopac25 Aug 05 '26
Java 8 enters the chat, pompously snickers, and wanders away, leaving a fart lingering in the room.
13
u/thuiop1 Aug 04 '26
Well, I do not like this deleting old tags business, but I empathize with the maintainers, and definitely agree with the need to EOL stuff.
3
u/Familiar-Level-261 Aug 05 '26
I think the author fails to recognise that this long support for old versions is one of reasons why people pick Lua in the first place
2
u/dionebigode Aug 07 '26
What is the Lua/LuaJIT schism?
1
u/Delicious-Cow-7162 Aug 05 '26
Ojo que hay un detalle importante: no todos los casos son iguales. Depende caleta.
1
u/saxbophone Aug 05 '26
God almighty, 15-year toolchains still in support! Yes, you really need to tell people still relying on them that by now, they need to bear the cost of maintaining them themselves!
1
u/Simpicity Aug 07 '26
I really hate the conflation of a language with a compiler/interpreter for that language. You don't get that with, say, C. C has versions, and C compilers are not just referred to as "C".
The Lua language specification is clearly written by someone who doesn't want to bother writing words. And you almost need to go mine people who understand the language to get a true understanding of how anything works. It's frustrating.
One advantage to Luau is Roblox can at least write documentation properly in most cases instead of giving you a tiny pamphlet and pretending it's a language spec.
1
u/funny_falcon Aug 08 '26
IMHO, there is a big need of official PUC Rio JIT interpreter for LUA.
0
u/El_RoviSoft Aug 05 '26
Btw about Lua, is it bad idea or not to make language that transpiles into LuaJit with blackjack and hookers? (The same way MoonScript for Lua and TS for JS work)
-26
u/userWithAQuestion12 Aug 04 '26
You made Lua Teal?
-10
u/nerdly90 Aug 04 '26
#LuaJitLit
-38
u/tricheb0ars Aug 04 '26
Iguana runs on Lua and I hate it
0
u/[deleted] Aug 04 '26
[deleted] — view deleted comment