0PricingLogin
Learn Rust Coding · Lesson

Your First 'Hello, World!'

Write and run your very first 'Hello, World!' program in Rust. Understand the basic compilation and execution process.

Your First Rust Program

Time to write your first Rust program: Hello, World! It's the classic way to confirm your setup works and meet the basics.

Creating Your Source File

Rust source files end in .rs, like main.rs. Create one in a fresh project folder — this holds the instructions you write.

All lessons in this course

  1. Installing Rust and Cargo
  2. Your First 'Hello, World!'
  3. Exploring the Rust Toolchain
← Back to Learn Rust Coding