[$] Canceling asynchronous Rust
Date:
Wed, 24 Sep 2025 15:15:53 +0000
Description:
Asynchronous Rust code has what Rain Paharia calls a " universal cancellation protocol ", meaning that any asynchronous code can be interrupted in the same way. They claim
that this is both a useful feature when used deliberately, and a source of errors when done by accident. They presented
about this problem at RustConf2025 , offering a handful of techniques to
avoid introducing bugs into
asynchronous Rust code.
======================================================================
Link to news story:
https://lwn.net/Articles/1036924/
--- Mystic BBS v1.12 A49 (Linux/64)
* Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)