Tag: Rust
7 posts
-
[2026] Rust Ownership Debugging Case Study | Fixing the borrow checker says no
Solve real Rust ownership, borrowing, and lifetime errors beginners hit: reading borrow checker messages, RefCell, Rc, Arc, and multithreaded patterns—w...
-
[2026] Rust String vs str (&str) | Ownership, Slices, and API Design
Compare Rust String and str: heap vs slice, borrowing vs ownership, function signatures, conversions, and common lifetime mistakes.
-
[2026] Getting Started with Rust | Memory-Safe Systems Programming
Rust tutorial for beginners: memory-safe systems programming, Hello World, Cargo workflow, ownership basics, syntax, and a hands-on calculator—clear and...
-
[2026] Rust Ownership | Ownership, Borrowing, and Lifetimes
Deep dive into Rust ownership: move and copy, functions and ownership, references, slices, lifetime annotations, and patterns compared to C++—with runna...
-
[2026] Rust Concurrency | Threads, Channels, Arc, and Mutex
Rust concurrency tutorial: std::thread, mpsc channels, Arc and Mutex, parallel sums, pitfalls, Send/Sync, and when to use rayon or Tokio in production.
-
[2026] C++ and Rust Interoperability: FFI, C ABI, bindgen, cxx, and Memory Safety
Master C++ and Rust interop: FFI fundamentals, C ABI bridge, bindgen for C++ bindings, cxx for safe interop, memory safety patterns, ownership transfer,...
-
[2026] Rust Memory Safety: Ownership, Borrowing, Lifetimes, unsafe [#47-3]
How Rust prevents use-after-free and data races at compile time: move semantics, borrow checker rules, lifetime annotations, and safe unsafe boundaries.