If you're stuck figuring out the right C++ API call to use with LLVM, you can dynamically generate example code here! http://t.co/z63J8EOmSM
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!