Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

First Look: Rust

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Take a look at Rust, a systems programming language that specializes in running fast, preventing crashes, and keeping threads safe.

Syllabus

Introduction
  • Welcome
  • What you should know
1. Hello, Rust!
  • Installation
  • Hello, world!
  • Hello, Cargo!
2. Basic Programming Concepts
  • Variables and mutability
  • Scalar data types: Integers
  • Scalar data types: Floats
  • Compound data types: Tuples
  • Compound data types: Arrays
  • How functions work
  • Return a value from a function
  • Control flow: if/else
  • Control flow: While loops
  • Control flow: For loops
3. Ownership in Rust
  • Ownership principles
  • Ownership rules
  • Ownership: Memory allocation
  • References and borrowing
  • Race conditions
  • Slices
4. Data Handling and Pattern Matching in Rust
  • Using structs
  • Building structs using values
  • An example program using structs
  • Method syntax
  • Enums
  • Enums with multiple types
  • Pattern matching
5. Error Handling
  • Unrecoverable errors with panic!
  • Recoverable errors with Result introduction
  • Recoverable errors with Result demonstration
6. Sample Rust Project: The Guessing Game
  • Getting user input
  • Generating a secret number
  • Comparing guess to secret number
  • Allowing multiple guesses
Conclusion
  • Next steps

Taught by

Abhiram Ravikumar

Reviews

4.5 rating at LinkedIn Learning based on 140 ratings

Start your review of First Look: Rust

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.