3 ms·
What if the author’s proposed solution is the billion dollar mistake? IMO the best programming paradigms are when the abstractions are close to the hardware.
by pyrolistical 2y ago
What if the author’s proposed solution is the billion dollar mistake?
IMO the best programming paradigms are when the abstractions are close to the hardware.
Instead of pretending to have unlimited cores, what if as part of the runtime of we are given the exactly one thread per core. As the programmer we are responsible for utilizing all the cores and passing data around.
It is then up to the operating system to switch entire sets of cores over different processes.
This removes the footgun of a process overloading a computer with too many threads. Programmers need to consider how to best distribute work over a finite number of cores.