"A single-file C allocator with explicit heaps and tuning knobs" on the frontpage of HN https://news.ycombinator.com/item?id=47520807

Oh sounds nice and lightweight, good to have more allocator options

Oh wait this is 10k lines long and one commit and this person's first project

Oh look so many parentheses it makes me, a lisper, feel overwhelmed https://github.com/xtellect/spaces/blob/master/spaces.c#L4713

So tired of bumping into slop everywhere

A single-file C allocator with explicit heaps and tuning knobs | Hacker News

@cwebber did you know that if you wrap if statements with double curly braces they get extra special secret powers? https://github.com/xtellect/spaces/blob/422dbba85b5a7e9a209aaab2e9ac19c892528d39/spaces.c#L1649

@th @cwebber im unsure if this is shitty bc it's slop or not slop bc it's so shitty this kind of thing cannot be in an llm's training data

like, usually slop looks right. it isn't, but it looks right. that's exactly why it's dangerous. but this ? i have no idea