News for hackers. Stuff that matters.
Re:"Why is the Rust compiler so slow?" by estebank on Friday June 27, 2025 @10:29AM (#44397082)
For loops are sugar around an Iterator instantiation:

  for i in 0..10 {}
translates to roughly

  let mut iter = Range { start: 0, end: 10 }.into_iter();
  while let Some(i) = iter.next() {}

There are no comments on this comment yet.