Earlier quoted context omitted.
My understanding is that there was a language fork after 5.1. One thing was a complete reworking of how math works. It used to be just floating point for everything but the new idea was to make it like Python 3. So most operations are float/integer with some weird exceptions. As with any language fork there will be some who stay and others who switch to the new thing. Often a fork will drive people away from a partic…
Language fork is unfortunate. Python situation isn't much of a fork really. Python 2 is basically EOL.
Lua 5.5
61–70 of 138 posts
Re: Lua 5.5
#62Earlier quoted context omitted.
Lua's nature as a primarily embedded language means backwards compatibility is not guaranteed between any version. If 5.2 was a language fork then so was 5.3, 5.4, 5.5, etc. (5.2 did have some more significant changes though) For that reason luajit staying at ~5.1 actually works in its favor. Rather than trying to follow the moving target of the newest version, it gives a robust focal point for the lua ecosystem, whi…
I don't see a reason not to update LuaJIT still. Changes in Lua aren't just version numbers, it should be improving something, meaning that would be missing in LuaJIT.
Re: Lua 5.5
#63Earlier quoted context omitted.
Language fork is unfortunate. Python situation isn't much of a fork really. Python 2 is basically EOL.
There’s no “basically”. Stick a fork in it; it’s done: https://www.python.org/doc/sunset-python-2/
Re: Lua 5.5
#64Earlier quoted context omitted.
Lua's nature as a primarily embedded language means backwards compatibility is not guaranteed between any version. If 5.2 was a language fork then so was 5.3, 5.4, 5.5, etc. (5.2 did have some more significant changes though) For that reason luajit staying at ~5.1 actually works in its favor. Rather than trying to follow the moving target of the newest version, it gives a robust focal point for the lua ecosystem, whi…
I don't see a reason not to update LuaJIT still. Changes in Lua aren't just version numbers, it should be improving something, meaning that would be missing in LuaJIT.
Re: Lua 5.5
#65Earlier quoted context omitted.
Not true. It's getting a constant stream of bugfixes. It's also not "stuck" on Lua 5.1, but is deliberately not following Lua's path, except for some backports. There's also a recent post about how a LuaJIT 3 might work.
OK, then I got some wrong info. If it's stuck at it deliberately, then it's worse. May be someone should fork it and bring it up to date with recent Lua versions. Why is this split needed?
Good news, you're someone. If you care, you're welcome to go for it.
Re: Lua 5.5
#66One of the new features I found interesting, declarations for global variables, is buried in the reference manual. Here's a link to the section that discusses it: https://www.lua.org/manual/5.5/manual.html#2.2
Why did you find this interesting?
Re: Lua 5.5
#67I recently happened into Balatro through a Game Pass trial. I fell deep down the rabbit hole of trying to get it to run on SteamOS. It's fascinating to see a commercial game whose source is easily read inside the application bundle, and all the modding opportunities it opens up. (It's written in Lua with LÖVE.) Balatro was one of the biggest games of last year, and I'm sure the tinkerability was a big catalyst to tha…
Re: Lua 5.5
#68I recently happened into Balatro through a Game Pass trial. I fell deep down the rabbit hole of trying to get it to run on SteamOS. It's fascinating to see a commercial game whose source is easily read inside the application bundle, and all the modding opportunities it opens up. (It's written in Lua with LÖVE.) Balatro was one of the biggest games of last year, and I'm sure the tinkerability was a big catalyst to tha…
I managed to run Balatro on a Trimui Brick on a very minimalist Linux distro, steamos should be easy.
Getting it to run in KDE was straightforward. I've gotta figure out why it instacrashes in SteamOS game mode.
Re: Lua 5.5
#69Earlier quoted context omitted.
Language fork is unfortunate. Python situation isn't much of a fork really. Python 2 is basically EOL.
There’s no “basically”. Stick a fork in it; it’s done: https://www.python.org/doc/sunset-python-2/
> The RHEL 8 AppStream Lifecycle Page puts the end date of RHEL 8's Python 2.7 package at June 2024.
https://access.redhat.com/solutions/4455511
At this point in RHEL it is only "deprecated", not "obsolete".