Announce major Generator -> Coroutine rename#1155
Announce major Generator -> Coroutine rename#1155Mark-Simulacrum merged 1 commit intorust-lang:masterfrom
Conversation
|
Probably should mention that it's only relevant for nightly users. |
|
Updated. what do I need to do to publish this? |
|
Currently date is set for tomorrow, I can merge then (ping me). Or happy to publish today, but then date should be updated. |
|
huh... I... should probably not be writing blog posts at 2am... not sure why I used the 24th. @Mark-Simulacrum renamed the file to match today's date |
No, you definitely should, because this was super entertaining reading. Can you write all the Rust blog posts from now on? 😛 One question, though: you mentioned that generators are a convenient way to write iterators. Isn't there also a performance angle? For some reason I had the impression that the compiler-generated state machine would be faster than what, e.g., |
|
For a very simple |
cc rust-lang/rust#116447
cc rust-lang/rust#116958