3 ms·
Best to avoid sharing data, and never mutating shared data! Rust has a great rule: Sharing XOR Mutation. Python is higher level, so message passing and passin
by kzrdude 5y ago
Best to avoid sharing data, and never mutating shared data!
Rust has a great rule: Sharing XOR Mutation.
Python is higher level, so message passing and passing "owned" values between threads is all the more feasible and sensible.