Comment by treyd
11 hours ago
It's also just as easy to incorrectly share memory and cause race conditions. There's no protection against it and it violates memory safety.
11 hours ago
It's also just as easy to incorrectly share memory and cause race conditions. There's no protection against it and it violates memory safety.
For sure. The parent comment was merely asking if it could be done without channels or mutex, not if it was a good idea or not. Of course sometimes it is indeed the right thing to do.