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.

الجدول الزمني

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

SegmentDuration
مرحبًا3 minutes
المكررات (Iterators)45 minutes
الوحدات (Modules)40 minutes
الاختبار (Testing)45 minutes