#lua
24 posts · Last used 6d
ito - build terminal ui in lua https://lobste.rs/s/9lqyul #show #lua #rust #vibecoding
https://uji.sh/ito
Extend Lua with Zig 1: Hello World https://lobste.rs/s/tmr7jp #lua #zig
https://www.robbielyman.com/blog/extend-lua-with-zig-1/
LuaRocks Security Incident September 2026 https://lobste.rs/s/apoyxs #lua
https://luarocks.org/security-incident-september-2026
I can now use MoonForth from #Lua 🥳
Boosted by @joe@f.duriansoftware.com
Does anyone know if there’s a paper or even a book on the history of… #Coroutines! To make it even harder: a text that starts at the beginning of times and track their evolution until their current form as implemented in either #Lua or #Kotlin (which I’ve worked with, so would be easier for me to follow) #programming
Trying to gets back into programming. I just wrote a lua GTK app which logs "Hewwo World" to terminal when u presses the button that says "dog".
This is useless, but should be the first step towards a graphical software center for alpine linux called "alpaca"(ALpine PACkage Administator).
#lua #GTK #programming #linux
Hey. A question for the fediverse at large.
Does anyone involved in game development know if there is any course-type stuff for building a whole game in Love2D? Or simply anything more involved than: "Here is Asteroids and/or Pang"
Most resources out there focus on single screen games but hardly any touch on... How do you load a level? How do you load and unload the game state? If you invoke a sub-screen how do you resume gameplay from where it was instead of loading anew?
[The following is kind of a tangential rant]
We know a lot of this is essentially logic and algorithm work (in the purest sense) and you are kind of supposed to know what kind of systems does your game need. But this is like trying to describe a car to someone who has never never seen one. You kinda need to see a working implementation (regardless of how appropiate for the game it may be) to at least get the skeleton of _what an implementation could possibly like_
Sure, Love2D can have a lot of parallels with an old 8 bit console but in one of those you can get away with clearing RAM, load a whole subsystem and then go back. And you usually don't need to worry with things like: _the enemy you just killed respawned after pausing_ because old games like that did it all the time. Or loading level data. You just held a pointer to a thing and all the level chunks load as the PC crawls through the table for that level. The parallelisms begin and end at the loaf, draw, update functions that resemble init, racing the bean, and vertical blank stages of drawing a single frame.
Or perhaps our issue comes from seeing the three functions as a virtual console loading the gamestate, drawing every frame and updating the playfield and gamestate between frames.
Anyhoo. That is our current predicament.
#gamedev #lua #love2d
The Lua community needs to learn to move on - hisham.hm https://lobste.rs/s/t7wzko #lua
https://hisham.hm/2026/08/04/the-lua-community-needs-to-learn-to-move-on/
Finally finished writing the Pumpkin Push (Sokoban clone) game chapters of my Lua and Love2D programming tutorial.
Progress has been so slow... but I'm happy to have at least wrapped up this chapter.
I think part of my problem motivation wise has been that my target audience is hypothetical. When I've written tutorials in the past, they've usually been directed at solving specific problems I saw a community having, but that isn't the case this time around. I hope it's useful to somebody?
I have vague ideas for what the next chapters might be, but I'm not sure if or when they'll ever be written.
https://brookmiles.ca/game-programming-lua-love2d/part-ii/pumpkin-push-ii/
#lua #love2d #gamedev
log is non-monotonous in PHP and Lua
https://purplesyringa.moe/blog/log-is-non-monotonous-in-php-and-lua/
#Programming #PHP #Lua
log is non-monotonous in PHP and Lua via @goldstein@im-in.space https://lobste.rs/s/pa54mh #lua #math #php
https://purplesyringa.moe/blog/log-is-non-monotonous-in-php-and-lua/
Optimizing Lua string literals to save 400 bytes
https://purplesyringa.moe/blog/guest/optimizing-lua-string-literals-to-save-400-bytes/
#Programming #Optimization #Lua
New blog post about an update on my #FreeBSD installer in #Luahttps://alfonsosiciliano.gitlab.io/posts/2026-06-26-bsdcan26-installer.html
#UNIX #coding #opensource #OS
I made a little Zettelkasten plugin for Neovim: https://codeberg.org/smeikx/zetka.nvim
I’ve started a Zettelkasten to reflect on media I read, watch and listen to; I hope this will help me define, refine, explain and defend my core beliefs and opinions.
I created the plugin myself to think about how I want to use my personal Zettelkasten and because it was fun. But I tried to make it useful for other people too, so give it a try if you like.
#nvim #Neovim #lua #Zettelkasten #PIM
Replying to
Boosted by @joe@f.duriansoftware.com
tiny lua compiler: a lua compiler in a single file, that's well-documented, that was hand-crafted over several years, and made to teach you compiler/tokenizer/parser/lexer design.
this is a crazy impressive project, and in a time when people are haphazardly slopcoding projects, is a standard to live by.
https://github.com/bytexenon/Tiny-Lua-Compiler
#programming #lua







