MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
asynchronous
Recherche

[$] Canceling asynchronous Rust

mercredi 24 septembre 2025, 17:15 , par LWN.net
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

RustConf 2025, offering a handful of techniques to avoid introducing bugs into
asynchronous Rust code.
https://lwn.net/Articles/1036924/

Voir aussi

News copyright owned by their original publishers | Copyright © 2004 - 2025 Zicos / 440Network
Date Actuelle
jeu. 2 oct. - 03:07 CEST