allocation algorithms are so freaking hard to get right. seriously, who designs a system without considering memory safety?? https://www.reddit.com/user/ketralnis