Browsing Category
Rust
22 posts
Rust is a multi-paradigm, general-purpose programming language that emphasizes performance, type safety, and concurrency. It is a relatively new language, but it has quickly gained popularity among developers due to its unique features and advantages.
Ownership and Borrowing in Rust Programming Language: Complete Guide to Memory Safety
When I first started learning Rust, I remember staring at the compiler error value borrowed after move and…
Drops, Moves, and Copies in Rust Programming Language: Memory Management and Ownership Transfer Explained
A while back I spent an entire afternoon debugging why a struct in my code wasn’t cleaning up…
Object-Oriented Programming in Rust Programming Language: Structs, Traits, and Encapsulation Guide
When I first came to Rust after years of writing Java and C++, the first question I asked…
Using Traits in Rust Programming Language: Shared Behavior, Trait Bounds, and Polymorphism Explained
Traits were the concept that made Rust finally “click” for me. Before I understood traits properly, I kept…
Input/Output and Error Handling in Rust Programming Language: Result, Option, and Panic Handling Guide
When I first moved to Rust after years of writing Python and C++, the thing that hit me…
Using Iterators in Rust Programming Language: Lazy Evaluation, Adapters, and Consumers Explained
I remember the first time I chained five .map() and .filter() calls in Rust and expected my terminal…
Ranges and Slices in Rust Programming Language: Working with Sequences and Subsets of Data
Slices were the first Rust feature that made me stop and think “wait, this is actually a clever…
Using Changeable Strings in Rust Programming Language: String, &str, and Mutable String Operations Guide
When I first started writing Rust, strings were the thing that confused me the most. Coming from languages…
Defining Closures in Rust Programming Language: Anonymous Functions, Capturing Variables, and Fn Traits
Closures were one of those Rust features I underestimated for the longest time. I treated them like lightweight,…
Data Implementation in Rust Programming Language: Structs, Enums, and Custom Data Types Explained
One of the moments Rust really started to feel like “my” language was when I built my first…