Tag

Ownership

0 views collected around this technical thread.

Architecture Development Notes
Architecture Development Notes
May 11, 2025 · Fundamentals

How Rust’s Ownership Model Eliminates Memory Bugs Before They Run

This article explores how Rust’s innovative ownership, borrowing, and type‑driven error handling move memory safety and concurrency checks from runtime to compile time, contrasting its zero‑cost abstractions with C++ and Go, and demonstrating practical code examples that prevent common bugs.

Memory SafetyOwnershipZero-Cost Abstractions
0 likes · 10 min read
How Rust’s Ownership Model Eliminates Memory Bugs Before They Run
Architecture Development Notes
Architecture Development Notes
Mar 20, 2025 · Fundamentals

When to Use Rust Functions vs Closures: Deep Dive into Performance and Ownership

This article thoroughly compares Rust functions and closures, examining their static versus dynamic characteristics, ownership rules, type system implications, performance optimizations, and practical use‑cases, helping developers choose the right abstraction for safety, speed, and flexibility.

ClosuresFunctionsOwnership
0 likes · 10 min read
When to Use Rust Functions vs Closures: Deep Dive into Performance and Ownership
Architecture Development Notes
Architecture Development Notes
Mar 13, 2025 · Fundamentals

Mastering Rust Closures: When to Use Fn, FnMut, and FnOnce

This article explains Rust's closure system, detailing how the three traits Fn, FnMut, and FnOnce map to different capture modes and ownership semantics, and provides practical examples, common pitfalls, and performance tips for writing safe and efficient Rust code.

ClosuresFnFnMut
0 likes · 8 min read
Mastering Rust Closures: When to Use Fn, FnMut, and FnOnce
Architecture Development Notes
Architecture Development Notes
May 16, 2024 · Fundamentals

Mastering Rust’s String: Creation, Modification, and Conversion

This article explains Rust’s owned `String` type, showing how to create strings, grow and modify them with various methods, and convert between `String` and `str` while highlighting ownership and borrowing concepts essential for safe memory management.

Memory ManagementOwnershipprogramming
0 likes · 5 min read
Mastering Rust’s String: Creation, Modification, and Conversion
Architecture Development Notes
Architecture Development Notes
Apr 13, 2024 · Fundamentals

Why Rust Is Revolutionizing System Programming: Safety, Performance, and Concurrency

Rust, a modern systems programming language, offers memory safety without a garbage collector, a powerful ownership model, zero‑cost abstractions, robust error handling, and safe concurrency primitives, making it ideal for high‑performance, reliable software development, as demonstrated through detailed examples and explanations.

Memory SafetyOwnershipSystems Programming
0 likes · 8 min read
Why Rust Is Revolutionizing System Programming: Safety, Performance, and Concurrency
Tencent Cloud Developer
Tencent Cloud Developer
Aug 7, 2023 · Artificial Intelligence

An Overview of Mojo: A New High‑Performance Language for AI Development

Mojo, Modular’s new high‑performance Python superset for AI, adds progressive typing, zero‑cost C++‑style abstractions, Rust‑inspired ownership and direct MLIR access while remaining compatible with existing Python libraries, offering faster, memory‑compact code despite still being early‑stage and lacking full Python feature support.

AI programmingMLIRMojo
0 likes · 15 min read
An Overview of Mojo: A New High‑Performance Language for AI Development
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
ByteFE
ByteFE
May 9, 2022 · Fundamentals

Why Learn Rust: Fundamentals, Ownership, Lifetimes, and WebAssembly Integration

This article explains why Rust is valuable for modern development, introduces its memory model, ownership, borrowing, lifetimes, and copy semantics, and provides step‑by‑step guidance for building a WebAssembly image‑processing app with Rust, Cargo, wasm‑pack, and Vite.

Frontend DevelopmentLifetimesOwnership
0 likes · 27 min read
Why Learn Rust: Fundamentals, Ownership, Lifetimes, and WebAssembly Integration
ByteDance ADFE Team
ByteDance ADFE Team
Mar 16, 2022 · Fundamentals

Introduction to Rust and Learning Recommendations

This article introduces the Rust programming language, explains its design principles such as memory safety, ownership, and zero‑cost abstractions, compares it with C++ and JavaScript, and provides practical advice, code examples, and insights on when and how to start learning Rust.

Memory SafetyOwnershipTraits
0 likes · 27 min read
Introduction to Rust and Learning Recommendations
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
DevOps
DevOps
Jul 16, 2017 · R&D Management

Five Principles for Outstanding Engineers: Lu Qi’s Engineering Leadership Talk

In his July 11 Engineering Leadership Talk, Baidu’s Lu Qi outlines five essential principles—believing in technology, innovating on the shoulders of giants, pursuing engineering excellence, committing to daily learning, and taking ownership—to guide engineers toward excellence and lasting impact.

Ownershipcontinuous learningengineering
0 likes · 7 min read
Five Principles for Outstanding Engineers: Lu Qi’s Engineering Leadership Talk