Rust Programming Tutorial: Installation & First Program

Added:

Rust Intro
Key Features
Resource Guide
Windows Setup
Mac/Linux Setup
First Program
Compile & Run
Wrap Up

Rust Intro

0:00
Playing Section
  • 1

    Series overview and prerequisites for learning Rust.

  • 2

    Targets programmers familiar with basic coding concepts.

Familiarity with using a Command Line Interface (CLI) or Terminal to navigate directories and execute basic system commands.
A basic understanding of the compilation process, specifically how source code is translated into executable machine code.
General awareness of how operating systems manage system environment variables, such as the PATH variable, to locate executable programs.
Mastery of 'Cargo', Rust's build system and package manager, to create projects, build binaries, and manage external dependencies.
Understanding basic Rust syntax and language fundamentals, including variables, mutability, data types, and functions.
Deep diving into Rust's unique memory safety model, focusing on the core concepts of Ownership, Borrowing, and Lifetimes.
Learning Rust's approach to error handling using the 'Result' and 'Option' enums rather than traditional exceptions.
581.1K views11.1Klikes15:08@TechWithTimOriginal Release: 2022-05-09

Rust is a statically-typed, compiled programming language that offers high-level features with low-level control, enabling developers to write efficient, scalable systems without the complexity of C/C++. This tutorial covers the fundamentals of setting up Rust on Windows, Mac, and Linux platforms, writing your first Rust program using the main function and println! macro, and compiling and running Rust code to produce standalone executable binaries that can be distributed across different operating systems.