News for hackers. Stuff that matters.
Re:From Stacks to Trees: A new aliasing model for Rust by weitzj on Monday June 12, 2023 @02:18AM (#36289109)
I have not programmed Rust, yet. But this article gives me a feeling that this looks similar to database transactions. This might be wildly wrong but for me I see an analogy:

Once you get the &mut reference, you have your tree, which then looks to me like you have created a transaction. An in this transaction context you do your things.

Re:From Stacks to Trees: A new aliasing model for Rust by oslac on Monday June 12, 2023 @02:34AM (#36289221)
This is a good intuition, Rust's references can be thought of as a r/w locks.