Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It has no “for (init; cmp; step)” type loop, and instead you had to use:

   var i: usize = 0;
   while (i < sz) : (i += 1) {
       ...
   }
Meaning that the scope for i would leak.

It did have a foreach-style for loop, as seen in the article though.



Looks like they have the most important part in place, the increment before the next iteration.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: