Ownership Concept in Rust

Hi everyone. Before that, I wrote a post called Control Flow Statements in Rust. Today we will see the ownership concept in Rust. Before I get started I have to say that it was really hard for me to understand. Before starting, I’ll create a project with cargo; cargo new understanding_ownership cd understanding_ownership Introduction Ummm, … Read more

Control Flow Statements in Rust

Hi everyone. Before that, I wrote a post called Playing with Functions in Rust. Today I’ll try to explain control flow statements in Rust Before starting, I’ll create a project with cargo; cargo new control_flow cd control_flow Introduction Rust has control statements like if expressions and loops. Mostly you’ll see if expressions and loops in … Read more

Playing with Functions in Rust

Hi everyone. Before that, I wrote a post called A Trip to Data Types in Rust. Today I’ll try to explain functions in Rust. Before starting, I’ll create a project with cargo; cargo new functions cd functions Introduction Functions are common in the Rust programming language. We’re already creating a function for each program. We’re … Read more

A Trip to Data Types in Rust

A Trip to Data Types in Rust Hi everyone. Before that, I wrote a post called Understanding Variables and Mutability in Rust. Today we’ll review Data Types in Rust. In this small story, we’ll see scalar and compound data type subsets. Before starting, I’ll create a project with cargo; cargo new data_types cd data_types Introduction … Read more

Understanding Variables and Mutability in Rust

Hi everyone. Before that, I wrote a post called Getting Started with Rust. Today’s topic is Variables and Mutability. We’ll see how they work in Rust. Introduction Are the thoughts immutable or constant? Maybe they can be mutable. Rust has many advantages and of course disadvantages like other programming languages. Rust allows you to write … Read more