3 ms·
Rust's concurrency is only safe in the very specific use case of threads trying to access common resources on the same memory space. It does nothing to prevent
by pjmlp 2y ago
Rust's concurrency is only safe in the very specific use case of threads trying to access common resources on the same memory space.
It does nothing to prevent data races between processes, or concurrency errors between threads accessing resources that are external to the process.
Scenarios quite relevant in distributed systems.
- taneq 2y agoA bulletproof vest doesn't stop you getting stabbed, it still makes you safer though.
- pjmlp 2y agoUnless it is a skilled shoter doing an head shot, or using high caliber ammunition. I do agree it helps, but it isn't the improvement over other memory safe languages, that the Rust Evagelism Strike Force makes it to be.
- p_l 2y agoOr you have "standard" vest (without ceramic armor plates) and the shooter shelled out for handgun designed for (and with) armor-piercing ammo or PDW-class gun or higher powered cartridge in a full rifle.. etc ;)