02 May 24
piccolo is an interpreter for the Lua language written in pure, mostly safe Rust with an eye towards safe sandboxing and resiliency. It uses gc-arena for its garbage collection system, and in fact gc-arena was originally created as part of piccolo.
18 Apr 24
A cute little toy for making animated gifs with lua, shareable by URL. All web based
22 Feb 24
Single executable(static), batteries included, Lua 5.1 interpreter.
12 Jan 24
A thorough, approachable overview of jit dev.
27 Nov 23
23 Nov 23
13 Nov 23
12 Nov 23
22 Sep 23
15 Aug 23
a repository of many things, including some fennel things
07 Aug 23
Before you understand how reloading works in Fennel, you need a little background regarding Lua’s module system, since Fennel is just a compiler that emits Lua code. Older versions of Lua had a module function which would declare the whole rest of the file as being part of a specific module and register that with the module system, and all functions that would normally be declared as global within that file would be exported as part of the module instead. But in version 5.1, that system was recognized as redundant: nowadays a module is just a file that returns a table1 with closures and other values in it. This is reflects the relentless simplicity behind the design of Lua; why have modules as their own concept when tables and closures can do just as good a job?
13 Jul 23
It’s also at a level of complexity that most game development tutorials don’t cover. Most of the problems beginners have when starting out with game development have to do with scope. The usual advice is to start small and work your way up, and while that might be a good idea, if the types of projects you’re interested in cannot be made any smaller then there are very few resources out there that attempt to guide you through the problems that come up.
It’s also at a level of complexity that most game development tutorials don’t cover. Most of the problems beginners have when starting out with game development have to do with scope. The usual advice is to start small and work your way up, and while that might be a good idea, if the types of projects you’re interested in cannot be made any smaller then there are very few resources out there that attempt to guide you through the problems that come up.
12 Jun 23
It’s a common misconception that dynamic languages inherently have tobe slow. This seems to be a deeply ingrained reflex nowadays. Probablytrained by years of suffering from simplistic implementations, oftenhelped by bad language design decisions.
It’s a common misconception that dynamic languages inherently have tobe slow. This seems to be a deeply ingrained reflex nowadays. Probablytrained by years of suffering from simplistic implementations, oftenhelped by bad language design decisions.
05 Jun 23
This server was created specifically to use as a base for a text adventure game. As such it lacks features you might expect. It has not been widely tested.
23 Apr 23
Here is a simple way to make a fully navigable archive of an interesting static website, for instance for offline consumption, or because you are afraid that the Internet will cease to exist soon. We will be using redbean to make this archive easily viewable: this will make the archive an executable, that runs a simple static webserver when launched. For this example, we will be archiving redbean’s website itself.
23 Feb 23
26 Nov 22
some inspiration for reloading Neovim config written in Lua automatically. I’m not confident that this is the only way. it may work. it’s something to test soon.