Turns out that you should only use alloca() for small amounts of memory, or it costs you a lot of debugging time. Low level coding is fun!
miniblog.
Related Posts
Date of birth pickers are a surprisingly nuanced UI problem.
What do you pick as the initial value? How do you allow users to easily move by large amounts (years) as well as small amounts (the exact day)?
Defaulting to today and even allowing future dates is funny though.
I've been learning how to use Massif, a tool in valgrind for memory profiling. It quickly paid off!
I discovered that difftastic sometimes attempts to preallocate absurd amounts of memory.
Rust's error messages can refer to multiple parts of code, and include increasing amounts of prose: https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html looks promising!

