BitcoinEagle.dev on Nostr: I'm just learning Rust memory management primitives. I summarized it in this table. I ...
I'm just learning Rust memory management primitives. I summarized it in this table. I believe it might be useful for other Rust autists
# sources
- Fn: https://doc.rust-lang.org/std/ops/trait.Fn.html
- Cell: https://doc.rust-lang.org/std/cell/index.html
- Arc: https://doc.rust-lang.org/std/sync/struct.Arc.html
- sync: https://doc.rust-lang.org/std/sync/index.html
- see also
- atomic: https://doc.rust-lang.org/std/sync/atomic/index.html
- Weak: https://doc.rust-lang.org/std/sync/struct.Weak.html
# sources
- Fn: https://doc.rust-lang.org/std/ops/trait.Fn.html
- Cell: https://doc.rust-lang.org/std/cell/index.html
- Arc: https://doc.rust-lang.org/std/sync/struct.Arc.html
- sync: https://doc.rust-lang.org/std/sync/index.html
- see also
- atomic: https://doc.rust-lang.org/std/sync/atomic/index.html
- Weak: https://doc.rust-lang.org/std/sync/struct.Weak.html
quoting nevent1q…mtgtRust: Matrix of ownership, borrowing or sharing in closures or locks