Today I learnt that Emacs defines a ring structure using just a fixed size array, to give you the convenience of circular structures and dynamically sized arrays!
miniblog.
Related Posts
Distributing binaries built against musl is counter-intuitive to me. When I run them on my machine, they're dynamically linked to glibc!
The main advantage AIUI is that you don't depend on new glibc features, so you get a more portable executable.
I feel like enums/variants/tagged unions are underexplored in dynamically typed languages.
As soon as you see a pattern match for a given enum variant (e.g. colour::RED), your can IDE can be helpful if the enum definition changes. Normally I only get this with static typing.
Exodus: a neat tool that can convert dynamically linked binaries to self-contained static binaries that work on pretty much any Linux machine!