Rust for C programmers – Part 5 – Return types and error handling.
In this post, I will discuss one of the my favorite feature of rust – error handling. Lets start with return statement. One of the key differences between Rust and…
In this post, I will discuss one of the my favorite feature of rust – error handling. Lets start with return statement. One of the key differences between Rust and…
In this post we will see how to use enums in Rust. In C, an enum is a user-defined data type that consists of a set of named integer constants….
In this post we’ll be exploring one of the most important and powerful features of the Rust programming language: Structs. Structs are a fundamental part of Rust’s type system and…
In this article, we will learn how to write simple functions in rust. By writing these simple functions we will understand if/else blocks, loops and how to define functions. Here…
In this article, we will explore the first rust program. Here is the rust program to print “Hello World”. The program looks very similar to a C “hello world” program….