Objectives

  • Gain an understanding of simple values, loops, conditionals, functions, arrays, slices and Option in Rust

Introduction

Rust is a safe, efficient, systems programming language. That safety comes from a very careful static type checker. The "problem" with that is that Rust can be very picky about types, and you sometimes need to be very precise in the types you specify. Fortunately rustc is usually very helpful in suggesting how you can clean up your types.

Gentle Introduction to Rust

Work your way through the first chapter of A Gentle Introduction to Rust. See the Resources section of this website for a pointer (as well as many other references). The root page for A Gentle Introduction to Rust includes installation instructions. I enncourage you to read the pain points page.