Animating with img-genner

I talked about img-genner’s glitch functions last time. Now you get to see the messier part of the library, as of (january 15th 2022), the part that needs refactoring and reconsideration. For one thing it is enormously picky in terms of types. So much so that much of the code broke regularly with only slightly …

Introducing img-genner, a Common Lisp Image Synthesis Library

I have been working on the img-genner library(repo here) for quite a long time now, over three years if my memory serves me correctly. It contains a number of different modules, and frankly, it is a bit of a Frankenstein. At first it was about polygon graphics, then it became about pixel ‘glitch’ effects, such …

Forth and Optimization

Forth is a strange old language. It’s among a relatively small number of concatenative languages that achieved any measure of success. Anyway, this isn’t something we’re going to go into much here because we’re thinking about something nearly tangential to the language itself. How you can make it fast. Stacks are somewhat slow compared to …

SB-SIMD, Early and Promising

Common lisp is a dream. Not always a great dream(such as when using strings), but it’s sufficient and SBCL is a remarkably interesting compiler. One that tells you how you might let it make the code faster, such as adding type hints, etc. More recently, I’ve had the opportunity to work with sb-simd, a library …

Optimizing Pointless things

So, we’ve been playing rimworld a lot recently. One of the mods we use is called Rim Factory, which is quite nice overall for building automated bases(yes this breaks the game’s economy, what of it?). One of the mechanics it adds is a buildable object called a sprinkler, which, instead of watering your plants(this isn’t …

Trying Out Zig

So, we have heard good things about Zig. These boil down to the following things: Good speed Fast compilation Decent type system Simple Syntax So far, a lot of these things seem to be born out by the experience we’ve had, though, we have some criticism that is probably more along the lines of our …