DEV Community

Discussion on: Rust, Iterators, and Skill Regression

Collapse
lauromoura profile image
Lauro Moura

A better name for this behaviour would be lazy instead of asynchronous.

An async operation generally means stuff happening "behind the scenes/at the same time", while a lazy operation delivers results "on demand", which is the case for the iterators.

Collapse
voanhcuoc profile image
Khoa Che

Yeah, lazy evaluation in contrast to eager evaluation.

Thank you!