News for hackers. Stuff that matters.
Re:Async-await on stable Rust by floatboth on Thursday November 07, 2019 @04:01PM (#21477202)
There's no fundamental difference between inserting a yield before a tail call and inserting a yield before a continue statement or closing bracket of the for block, is there?
Re:Async-await on stable Rust by simcop2387 on Thursday November 07, 2019 @04:07PM (#21477255)
Fundamentally no, but it's a more difficult thing to do in practice at least. Unless you want to give up other optimizations like loop unrolling and other things like that since you end up losing the fact that the loop exists after some optimization passes.