Defaulting to Thread-Safety: Closures and Concurrency

from blog Huon on the internet, | ↗ original
Rust has some powerful tricks to model properties of aggregate types via unsafe traits with default and negative implementations. These features motivated by offering flexible concurrency/parallelism, and allow powerful closure-based APIs without losing any thread-safety (or memory-safety) guarantees at all. I realised that my recent post on the...