Tag

Borrowing

0 views collected around this technical thread.

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.

BorrowingFront-End DevelopmentMemory Safety
0 likes · 21 min read
Understanding Rust: Memory Safety, Ownership, Borrowing, and Its Impact on Front‑End Development
High Availability Architecture
High Availability Architecture
Mar 4, 2020 · Fundamentals

Understanding Rust Ownership Rules: Clone, Move, Immutable and Mutable Borrow

This article explains Rust's ownership model, detailing how values are owned by variables, released when out of scope, and transferred or accessed through cloning, moving, immutable borrowing, and mutable borrowing, with code examples illustrating each rule and the compiler errors they prevent.

BorrowingMemory SafetyMove
0 likes · 9 min read
Understanding Rust Ownership Rules: Clone, Move, Immutable and Mutable Borrow