News for hackers. Stuff that matters.
Re:Things Rust shipped without by Niten on Friday July 03, 2015 @08:46PM (#9828670)
To clarify, I meant the "overhead" of defining and instantiating a container class for RAII purposes.

I hadn't considered the type of overhead you're talking about, which is admittedly more important for the kind of software that tends to get written in C.

Re:Things Rust shipped without by pcwalton on Friday July 03, 2015 @08:55PM (#9828691)
There was such a thing (std::finally), but it was removed due to lack of use and maintenance. When your standard library is completely built on RAII, you rarely need it.