3 ms·
It's not that bad with channels. I suppose you don't have to worry about synchronization issues as much with async/await on Node since that's a single threaded
by jrs95 9y ago
It's not that bad with channels. I suppose you don't have to worry about synchronization issues as much with async/await on Node since that's a single threaded environment, but async/await with something like C# isn't any less complicated in that regard that goroutines and channels.
Generally Go code isn't written like typical multithreaded code with synchronization unless you're really trying to optimize something.