u/sock_dgram

I have come full Lua-circle

After years with Gnome and then Openbox, I switched to Awesome, which had a Lua config.

Then I used Qtile for a while, which is written and configured in Python. You could inject random stuff deep into the window manager. The config is just a module. This was quite unstable.

After a while, I switched to i3 and used it for almost 10 years.

Eventually, it was time to try out Wayland, but just switching to Sway felt like a compromise, so I switched to Hyprland in January. It took a while to get everything working again, and now I have to switch to a Lua config again.

I'm not complaining, I just think it's funny.

reddit.com
u/sock_dgram — 2 days ago
▲ 9 r/lua

I've built a code generator to convert tables into C structs.

https://github.com/alexf91/glua

Maybe it's useful, maybe it's not, but it works. I mainly built it to interface with types in Raylib for a small custom game engine I'm developing, but I decided to spin it off and make it public.

It also lacks documentation, but I guess anyone using the C API can figure it out.

u/sock_dgram — 19 days ago