News for hackers. Stuff that matters.
Re:How to think about `async`/`await` in Rust by heavenlyblue on Wednesday July 05, 2023 @01:05PM (#36603405)
> Since rust follows RAII, any and all resources allocated in the context should be deallocated when their destructor (the drop trait) is called. The unfortunate exception to this are resources which require an async call to deallocate properly. Though this can be worked around and there is work being done to fix this properly.

Yeah as I said async does not, in fact, "provide easily cancellable execution patterns".

There are no comments on this comment yet.