News for hackers. Stuff that matters.
Re:Show HN: Smart pointers for the C programming language by koenigdavidmj on Wednesday January 14, 2015 @01:23PM (#8888013)
This also provides unique_ptr, which doesn't use reference counting, and enforces rules very similar to those of Rust's borrow checker. They allow you to avoid memory leaks by ensuring that you either free any memory you allocate or pass it to another function (who must either free it or pass it to somebody else, ad infinitum).

There are no comments on this comment yet.