Tagged articles
3 articles
Page 1 of 1
Dunmao Tech Hub
Dunmao Tech Hub
Aug 21, 2025 · Fundamentals

Understanding Rust Borrowing: Multiple Immutable vs Single Mutable References

This article explains Rust’s core borrowing rules—allowing any number of immutable references, permitting only one mutable reference, and forbidding their coexistence—detailing the concept of lifetimes, providing code examples for each rule, and highlighting the safety benefits for concurrent programming.

BorrowingLifetimesMemory Safety
0 likes · 6 min read
Understanding Rust Borrowing: Multiple Immutable vs Single Mutable References
Tencent Cloud Developer
Tencent Cloud Developer
Sep 8, 2022 · Frontend Development

Understanding Rust: Memory Safety, Ownership, Borrowing, and Its Impact on Front‑End Development

Rust, a compiled, memory‑safe language that enforces ownership and borrowing at compile time, eliminates garbage‑collection overhead, enabling high‑performance front‑end tools like swc and Rome and efficient WebAssembly modules, though its strict rules present a steep learning curve for newcomers.

BorrowingMemory SafetyOwnership
0 likes · 21 min read
Understanding Rust: Memory Safety, Ownership, Borrowing, and Its Impact on Front‑End Development