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

Same would be true for any resource that needs cleaned up, right? Referring to stop-polling-future as canceling is probably not good nomenclature. Typically canceling some work requires cleanup, if only to be graceful let alone properly releasing resources.


Yes, this is true of any resource. But Tokio mutexes, being shared mutable state, are inherently likely to run into bugs in production.

In the Rust community, cancellation is pretty well-established nomenclature for this.

Hopefully the video of my talk will be up soon after RustConf, and I'll make a text version of it as well for people that prefer reading to watching.


Thank you, I look forward to watching your presentation.




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

Search: