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.

Presentation Recording

You can find the presentation video online at YouTube.

Presentation Material

All the material I presented are available online at github.

Comments Welcome

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.