1.
Introduction
2.
Hello World
2.1.
Hello World in C
2.2.
Hello World in C++
2.3.
Hello World in Rust
2.4.
Rust Syntax
3.
Touring the Rust Langauge
3.1.
Primitive Types
3.2.
Mutability
3.3.
Primitive Type Conversion
3.4.
Numeric Overflow
3.5.
Control Flow
3.6.
Loops
3.7.
Strings
3.8.
Functions and Scopes
3.9.
Structures
3.10.
Structure Functions
3.11.
Destructors - Drop
3.12.
Tuples and Destructuring
3.13.
Enums
3.14.
Containers
3.15.
Iterators
3.16.
Move by Default
3.17.
Borrowing
3.18.
Slices
3.19.
Memory Management
3.19.1.
C-style allocation and deallocation
3.19.2.
Box - Unique Pointer
3.19.3.
Rc and Arc - Shared Pointer
3.19.4.
The Borrow Checker
3.19.5.
Lifetimes
3.20.
Concurrency
3.20.1.
Data Race Protection
3.20.2.
Spawning Threads
3.20.3.
Dividing Workloads
3.20.4.
Scoped Threads
3.20.5.
Rayon
3.21.
Program Organization
3.22.
Traits
3.23.
Generics
3.24.
Error Handling
4.
Touring the Rust Ecosystem
4.1.
Tool Equivalencies
4.2.
Unit Tests
4.3.
Benchmarking
5.
Calling C from Rust with FFI
Light
Rust
Coal
Navy
Ayu
Rust from C/C++
Hello World
Let's get started by comparing a C, C++ and Rust
Hello, World!
program.