News for hackers. Stuff that matters.
Re:Rusty Ownership and the Lifecycle’s Stone by mtlmtlmtlmtl on Sunday November 27, 2022 @06:17PM (#33768032)
Ownership doesn't exist in the C language per se, but it is still an important concept you have to reason about when manually managing memory. I think that's what GP meant.

E.g if you add some object to a generic hash table as a key by pointer, you better treat that pointer as being owned by the hash table and not mutate it, or interesting stuff will happen.

Re:Rusty Ownership and the Lifecycle’s Stone by tmtvl on Sunday November 27, 2022 @08:34PM (#33768860)
I mean sure, but we're not talking about C, we're talking about low-level languages, like IA32 assembly.
Re:Rusty Ownership and the Lifecycle’s Stone by mtlmtlmtlmtl on Sunday November 27, 2022 @08:45PM (#33768925)
No one uses "low level language" to mean only assembler anymore. Besides, you also have to reason about ownership in assembler. It's not something you can really get away from at any level of the stack.