Welcome to Day 4

Today we will cover topics relating to building large-scale software in Rust:

  • Iterators: a deep dive on the Iterator trait.
  • Modules and visibility.
  • Testing.
  • Error handling: panics, Result, and the try operator ?.
  • Unsafe Rust: the escape hatch when you can't express yourself in safe Rust.

Schedule

Including 10 minute breaks, this session should take about 3 hours and 5 minutes. It contains:

SegmentDuration
Benvenuti3 minutes
Iteratori45 minutes
Moduli40 minutes
Testare1 hour and 5 minutes