On February 11, 2021 I was lucky enough to give a presentation about some of my findings with benchmarking loops in Rust to the Rust Meetup group in Linz, Austria.
In a short session, I shared the story of my investigation into the difference in performance between two different styles of loops in Rust. In particular, I compared a program’s performance when written with
for ... in loops and
while loops. The talk covered topics in the Rust language itself, compiler optimization levels and how to benchmark performance.
You can find the presentation video online at YouTube.
All the material I presented are available online at github.
Please send comments and feedback to the email or twitter addresses listed in the footer below. I would love to hear what you thought about the presentation and any suggestions you had for doing better in the future.