Beating an optimising compiler at compiling division calculations: https://lemire.me/blog/2019/02/08/faster-remainders-when-the-divisor-is-a-constant-beating-compilers-and-libdivide/
(TIL that gcc, clang and libdivide use different techniques!)
miniblog.
Related Posts
Efficiently sandboxing Firefox by compiling potentially vulnerable libraries to wasm, and then compiling wasm to C!
I've had bug reports from people compiling difftastic on both OpenIndiana and Windows!
It's kinda neat, and so far the build fixes have been straightforward.
Compiling Linux so it can fit on a floppy and boot on a 486!
I'm really impressed you can still make it small enough.
https://www.insentricity.com/a.cl/283
