Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can write zero ops destructor as well. So yes, RAII is zero-cost abstraction.


I literally said so.


You wrote that in C++ and Rust it is necessary to "opt out" of properly freeing memory. That is a false statement. It is not just incidentally false, it is fundamentally false.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: