HNHacker News
TopNewBestAskShowJobs

bits_and_bytes

1 karma · joined October 6, 2026

submissionscomments
bits_and_bytes··on Type Safe Generic Data Structures in C (2025)
RAII is terrible for memory resources - it's ok for things like locks I guess. Rarely do I want to couple initialization with allocation, I want bulk allocations/deallocations (and I want precise control over when that happens) and reset()-like functions so I can easily reuse memory.