Re:Zero-cost futures in Rust
by skybrian on Thursday August 11, 2016 @04:11PM
(#12271251)
It would be useful to give a Future a name (for debugging) in the code that creates it, so a list of "pending jobs" is more readable. I don't think any other language is doing that.
Like other kinds of debugging info, you might also want a way to strip out the job names in a production build.
Like other kinds of debugging info, you might also want a way to strip out the job names in a production build.