|
|
|
|
|
by mjevans
235 days ago
|
|
Thank you. Every time I've tried to approach the concept of Rust's parallelism this is what rubs me the wrong way. I haven't yet read a way to prove it's correct, or even to reasonably prove a given program's use is not going to block. With more traditional threads my mental model is that _everything_ always has to be interrupt-able, have some form of engineer chosen timeout for a parallel operation, and address failure of operation in design. I never see any of that in the toy examples that are presented as educational material. Maybe Rust's async also requires such careful design to be safely utilized. |
|