sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

574
active users

#luarocks

0 posts0 participants0 posts today

LuaRocks 3.12.0 is now released, the first release after the codebase was converted to Teal!

Congrats to my mentee Victor Ilchev, who performed the conversion as his summer project for GSoC 2024. His work should be hitting production CIs worldwide by now!

Continued thread

aaand I'm done for the night, after a 7 hour stream!

We now have a branch where #LuaRocks can build from a plain Makefile into a stand-alone executable with all its #Lua dependencies vendored in: github.com/luarocks/luarocks/t

Next steps will be to deal with its non-Lua dependencies, and Windows cross-compilation. With that in place, further code cleanups can start!

GitHubGitHub - luarocks/luarocks at luarocks4LuaRocks is the package manager for the Lua programming language. - GitHub - luarocks/luarocks at luarocks4

Today, I extracted my #Lua port of the Rough.js library into a standalone module and published it on #luarocks

It is a small graphics library that lets you draw lines, polygons and curves in a sketchy, hand-drawn-like, style.

I formerly used it in some of my 3rd-party packages for the #SILE typesetting system, but now having it as its own independent module might be interesting for other Lua developers, outside the SILE ecosystem.

github.com/Omikhleia/rough-lua

#LuaRocks question - how can I use it with #LuaJIT?

$ luarocks --lua-version=5.1 install --local opencl
Installing luarocks.org/opencl-1.2.0-1.sr

Warning: variable CFLAGS was not passed in build_variables
make[1]: Entering directory '/tmp/luarocks_opencl-1.2.0-1/lua-opencl/test'
/usr/bin/lua5.1 platform.lua
/usr/bin/lua5.1: ...opencl-1.2.0-1/lua-opencl/test/../opencl/C.lua:7: module 'ffi' not found

Do I need to reconfigure/reinstall luarocks, or can I make it work with both LuaJIT and Lua 5.1/5.4?