🚀 We just launched hackr for designers. Visit it here
Hackr.io is a programming community to find and share the best online programming courses & tutorials. Join them, it only takes 30 seconds.
Anybody can submit a course or a tutorial
Community upvotes the useful tutorials
The best tutorials rise to the top
Rust is the programming language of the future.
Rust is a systems programming language focused on three goals: safety, speed, and concurrency. It maintains these goals without having a garbage collector, making it a useful language for a number of use cases other languages aren’t good at: embedding in other languages, programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems.
Rust attempts to give you a language with 100% control, yet be absolutely safe. It does this through extensive compile-time checking, so you pay little (and often no!) cost at run time for its safety features. Rust has some strong advantages in the concurrency department due to its ownership model. For example, sharing mutable state across a concurrency boundary without a mutex is a compile-time error in Rust. This is super huge on the correctness side.
It improves on current languages targeting this space by having a number of compile-time safety checks that produce no run time overhead, while eliminating all data races. Rust also aims to achieve ‘zero-cost abstractions’ even though some of these abstractions feel like those of a high-level language. Even then, Rust still allows precise control like a low-level language would.
Rust has lot of great features that will blow your mind away.
This course explains everything Step by Step Hands On.
Working with Rust Language
Writing and Compilig a Rust Program
Cargo Package Manager
Immutability and Workaround
Concept of Signed and Unsigned Numbers
Signed and Unsigned Integers
If Else Statement
If Else Statement as an Expression
Functions - Calling and Return Type
Functions - Passing Values
Boolean Data Type
Boolean in Functions
Array Length and Default Initialization
Slicing in Rust Lang
Strings and its Types
Multiple Line Strings
String Slice to String
Implicit and Explicit Return
Version and Creating a New Application
Iterating over Vector and Index
Vectors With Capacity
Standard io Library
Structures - Struct
Learning a new programming language can be tough especially if you are a beginner in programming. Find a programming buddy and learn this tutorial in a more engaged & fun way.