Rust Linz, August 2021 - Rainer Stropek - Rust iterators

preview_player
Показать описание
This year, important things have been improved in Rust regarding iterators and arrays. Finally, we can iterate over arrays by value using a "for"-loop. It is kind of strange that this seemingly simple language feature took so long to arrive, isn't it?

In his talk about iterators, Rainer quickly demonstrates the new iterator features that came with Rust 1.53. Then he tries to shed some light on what problems the Rust team had to solve to deliver this important language enhancement.

For beginners, Rainer will also recap what iterators are and how they work behind the scenes in Rust. So if you are new or you have limited Rust experience, don't hesitate to join.
Рекомендации по теме
Комментарии
Автор

Fantastic job -- thanks! Please do more, perhaps with a larger/clearer font.

ClearerThanMud
Автор

One of the things I appreciate most about Rainer's talk is that he teaches you how to grok rust documents. I find rust docs very hard to parse for whatever reason. E.g the `three dots` thing he mentions at 14:13 was a revelation to me.

Amapramaadhy
Автор

Truly phenomenal, Rainer. I really needed this video. You have a gift for explaining complex ideas in a way everyone can understand. Thanks a million!

Expateer
Автор

Thanks ! That would be nice to use a bigger font in your IDE :)
Ho ok, someone already asked :3

JulienBertozzi
Автор

This is a great explanation of iterations in Rust. I also loved how you explained the backstory and you have saved a lot of headaches for me.

johnyepthomi
Автор

Absolutely insane! thanks, Rainer Stropek for the great work. 👨‍🏫

victorfds
Автор

Great talking pace, I just wish I could see your screen. Consider zooming to get rid of the whitespace and for those who consume video via mobile.

vmaxxk
Автор

This was an awesome presentation. Thank You!

Ben_
Автор

Thank you for this fantastic presentation!

leonie
Автор

Font fixed at 10:19. Thankfully most of the interesting stuff happened afterwards 😀

Amapramaadhy
Автор

In the IntoIterator example using Passwords and PasswordsIterator, is there some advantage over just implementing Iterator<String> for Passwords and having Passwords::new().take(3) in a for loop? Seems like we are using one struct to create another struct we hang functionality off of rather than hanging functionality off the first struct?

KyleSmithNH
Автор

Too bad I can only like this video once 😅

maximehk