News for hackers. Stuff that matters.
Re:LuaJIT Uses Rolling Releases by andersa on Friday August 25, 2023 @10:23AM (#37262065)
I'm confused what you mean. What is a packager doing here? I always assumed that the intention of this library is that you, as a developer, compile and embed it in a product that needs a scripting engine. What use would a standalone LuaJIT package be?
Re:LuaJIT Uses Rolling Releases by fullstop on Friday August 25, 2023 @10:27AM (#37262111)
It's available as a package, and a library, in most Linux distributions. It includes the library and the interpreter.

edit: I have a few scripts with #!/usr/bin/luajit as the shebang line.

Re:LuaJIT Uses Rolling Releases by andersa on Friday August 25, 2023 @10:33AM (#37262176)
Interesting, that's neat. Somehow didn't realize using it like this was an option, but now that you mention it...
Re:LuaJIT Uses Rolling Releases by kzrdude on Friday August 25, 2023 @10:34AM (#37262181)
libluajit is a drop-in replacement for the regular liblua (v5.1)
Re:LuaJIT Uses Rolling Releases by Bu9818 on Friday August 25, 2023 @02:26PM (#37265362)
Even ignoring the installed interpreter, libraries on Linux distributions are usually installed system-wide as their own packages which other packages depend on (neovim, mpv, cgit, etc.)
Re:LuaJIT Uses Rolling Releases by kragen on Friday August 25, 2023 @04:53PM (#37266897)
if you apt install libluajit-5.1-dev you can compile and link your c programs with it without having to compile it yourself

similarly if you are writing programs in lua rather than in c you can run them in luajit if you just apt install luajit

if you want to release your programs as free software so other people can compile and link them, it's important for them to be able to get the version of luajit you were using so they can debug why your program doesn't work in the current version of luajit