News for hackers. Stuff that matters.
Re:Rust RAII is better than the Haskell bracket pattern by bunderbunder on Tuesday October 09, 2018 @10:40AM (#18176317)
Ah, I think I follow.

So, it sounds to me like it's not necessarily that Rust's model is fundamentally different from "ref counting with a limit of 1", at least in terms of how you should be managing your memory, so much as that the language doesn't let you some things that you really shouldn't be doing in the first place.

Sometimes it felt like Objective C wouldn't just let you point a gun at your foot, it would actively cheer you on while you did it.

There are no comments on this comment yet.