4 ms·
Go provides channels for safe communication between goroutines (which are distributed across multiple threads).
by foldr 7y ago
Go provides channels for safe communication between goroutines (which are distributed across multiple threads).
- twic 7y agoYou 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.