In this video, focus on installing Rust on the Windows platform. Instructions for other platforms are also shown.
- The first step to using Rust is to install it.…We'll actually be installing Rust using rustup,…a command line tool for managing Rust versions…and associated tools.…On Windows, head to the Rust homepage,…click on install, and then you have to…download the rustup-init.exe and run it.…If you're on a Linux or a Mac,…99% of what you need to do is to…open up a terminal and type this.…
If all goes well you'll see the text appear…Rust is installed now, great.…After installing just open up your…command prompt and run the command rustup.…As you can see here, the toolchain installer…gives us a list of commands that we can use.…Run rustup toolchain list to look at…the various toolchains that are installed by default.…
There's usually a stable one, which is bug free…and a nightly one which might have a few bugs.…Rustup is smart enough to install…cargo as well rust package manager.…If you type cargo you can see that…cargo is already installed on your machine…and also the various commands that you can use with cargo.…We'll discuss more about cargo in the next video.…
- Installing Rust
- Data types
- Adjusting memory allocation
- Setting up race conditions
- Working with functions
- Exploring references and borrowing
- Using structs
- Method syntax
- Demonstrating recoverable errors with Result
- Working with enums
- Getting user input
Skill Level Beginner
Programming Foundations: Data Structures (2014)with Simon Allardice2h 29m Intermediate
1. Hello, Rust!
2. Basic Programming Concepts
3. Ownership in Rust
4. Data Handling and Pattern Matching in Rust
5. Error Handling
6. Sample Rust Project: The Guessing Game
Next steps1m 14s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.