/rectangles

A small program that does little but demonstrates a lot.

Primary LanguageRust

rectangles

A “homework” repository, i.e. a simple demonstration of learning how to do a few intermediate things in Rust, including:

  • Custom types and traits
  • Modules
  • Generic programming with trait boundaries
  • Lifetimes
  • Doc comments
  • Custom macros
  • Memoization using the cached crate
  • Parallelization with the rayon crate

Compile with cargo build.

Released to the public domain.