Cloud
Cloud
Rust Iterators: Fire Your for Loops (They'll Be Fine, They Have Savings)
Your for loop has been doing three jobs at once and it's tired. Rust iterators split the work into map, filter and sum, cost nothing extra at run time, and are lazier than a cat in a sunbeam. A ten-minute lab.
Ada Brackett4 min read