News for hackers. Stuff that matters.
Re:Maps and Memory Leaks in Go by Dobbs on Tuesday November 08, 2022 @10:13AM (#33519847)
That is basically the entire shtick of rust. That data is "owned", and only the owner can write. You can "borrow" something for read access, but if something is borrowed it can't be written to.

There are of course workarounds for this like reference counted wrappers and so on.

There are no comments on this comment yet.