3 ms·
Unfortunately Moore's law is no longer expressing itself in terms of single threaded performance. So the only way to take advantage of the faster CPUs that are
by Thorrez 7y ago
Unfortunately Moore's law is no longer expressing itself in terms of single threaded performance. So the only way to take advantage of the faster CPUs that are being released is to write multi-threaded code.
Many alternatives to channels (mutexes, atomics, semaphores, condition variables) have just as much if not more chance of turning the codebase into a mess. But yes I agree that if performance-wise you can handle being single-threaded, then do that, because it's much simpler.