Introduction to Rust and Cargo
Session Topic or Project
Hyperledger Indy, Hyperledger Ursa, and now Hyperledger Sawtooth are all using Rust as the primary development language. This session is for anybody new or just getting started with the Rust programming language and is a prerequisite for several of the other sessions related to those projects.
Session Leader
Dave Huseby
Time Slots and Spaces
- March 7th, 11-12 AM, Training Room 3
- March 8th, 10-11 AM, Training Room 3
Experience Level of Participants
Beginner
Session Language
English
Programming Language(s)
- C / C++
- Go
- Java
- Javascript
- Python
- Rust
- Other
Other Prerequisites
- Laptop
- Enthusiasm
The Plan
- Get everybody on the WiFi network.
- Kick off the rustup install process.
- Presentation on Rust and how it relates to other programming languages.
- A short tutorial on Cargo.
- Start a new project.
- Fill in the hello world code.
- Build it.
- Run it.
The Goals
- Get Rust and Cargo installed on everybody's computer.
- Familiarize everybody with the common commands for building, running, and testing applications written in Rust.
- Build and run their first Rust application.
Software to (try to) Install Before
- Install the Rust toolchain by following the instructions here: https://rustup.rs/
Special Equipment Required
- Projector and screen.
- WiFi.
- Power strips.