Re:Go Creeping In
by foldr on Tuesday June 18, 2019 @07:29AM
(#20211809)
Go provides channels for safe communication between goroutines (which are distributed across multiple threads).
[ Parent
| on HN ]
You can use channels to pass mutable objects, which are then shared between threads. The passing itself may be safe, but the resulting situation isn't.
The Rust compiler won't let you do that.
You can mutate objects from multiple threads in Go without using channels.
The Rust compiler won't let you do that either!