Lua as a practical "soft-bedrock" language

7 points by dzwdz


technomancy

The popular "Penlight" library, which adds a lot of Python-inspired utility functions for string manipulation and similar generic programming tasks, made a new release in January of this year, mostly just to add support for Lua 5.5.

Ironic choice of example because if Lua really never broke anything then Penlight wouldn't need to release a new version for compatibility.

The main thing that this article overlooks is the fact that unlike practically every other programming language in existence, it's perfectly viable to just continue to use Lua 5.1, which was released in 2006. I don't think there is an official policy around which versions are EOL, (edit: was wrong about this; there is a policy but distro people keep it going) but Debian (and hence everyone downstream of Debian) still commits to supporting 5.1 and are not likely to stop any time soon.

Even if your distro didn't ship it, the fact that the whole VM is like ... 15kloc means you can embed it in your own repository and ignore whatever the OS ships, which neatly bypasses the tremendous headaches languages like python have had with OS-provided packages.