wr
hn
Top
New
Best
Ask
Show
Jobs
Back
b
bits_and_bytes
Joined 26 days ago
Karma
1
Submissions
1
Member since
Oct 6
View on Hacker News
Recent submissions
Comment · 26 days ago
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.