Rust Tutorial

Rust - Tutorial



Rust is a modern multi-paradigm programming language designed for performance and safety, especially safe concurrency. Rust is syntactically similar to C++, and amazingly fast like C and C++. Rust was originally designed by Graydon H. at Mozilla Research, with contributions from Dave Herman, Brendan Eich, and others. The first version of Rust was released in July, 2010.

About Tutorial

This tutorial is intended for students and professionals interested in studying basic and advanced concepts of Rust. This tutorial covers all topics of Rust which includes data types, operators, arrays, strings, control statements, ownership, borrowing, slices, structures, modules, collections, iterators and closures. We believe in learning by examples therefore each and every topic is explained with lots of examples that makes you learn Rust in a very easy way. Along with this, almost all examples can be executed online which provides better understanding of the language and helps you to learn the language faster. The classical "Hello World" example is mentioned below for the illustration purpose:

fn main() {
  // Hello World Example
  println!("Hello World!");
}

The output of the above code will be:

Hello World!

Prerequisite

Before continuing with this tutorial, you should have basic understanding of any programming language.