πŸ¦€
World 1 Β· Hello, Rust!

What is Rust?

Every app, game, and website you use is built from code β€” step-by-step instructions a computer follows. Rust is one of the languages we write those instructions in, and it’s known for being both fast and remarkably safe.

Engineers use Rust to build serious software: game engines, web servers, command-line tools, and even pieces of operating systems and phones. In this course, you’ll learn it from the ground up.

The Big Idea A programming language is how we tell a computer exactly what to do β€” step by step, like a precise recipe. Rust is one of those languages, and it's famous for being fast and safe at the same time.

Why people choose Rust

Most languages force a trade-off: be fast OR be safe. Rust’s whole goal is to give you both. πŸ¦€

  • 🏎️ Fast β€” Rust programs run about as quickly as code gets.
  • πŸ›‘οΈ Safe β€” Rust catches whole categories of bugs before your program ever runs.
  • 🧰 Helpful β€” when something is wrong, Rust’s error messages explain it clearly.
Think of it like this… Imagine a race track with high-grip guardrails. You can go full speed (that's performance), and the rails keep you from crashing off the edge (that's safety). Rust gives you both at once.

Meet your guide: Ferris πŸ¦€

Ferris the crab is Rust’s friendly mascot, and your guide for this course. Ferris will pop in with tips, shortcuts, and the occasional warning.

Ferris says: You don't have to understand everything on the first pass. Programming is a skill you build up over time β€” a little each lesson, and it adds up fast.

What does Rust code look like?

Here’s a tiny Rust program. Don’t worry about every detail yet β€” press the green β–Ά Run button and see what it does.

Those lines appeared because the computer followed your instructions exactly. The println! part means β€œprint a line” β€” it displays text on the screen.

Try this! Click inside the code box and change the words inside the quotes to your own message. Press β–Ά Run to see it, then press β†Ί Reset to bring back the original.

Quick quiz

What is Rust?

You learned… Rust is a programming language that is both fast and safe, Ferris is your guide, and println! prints text to the screen. Next up: setting up Rust on your computer! πŸ› οΈ