3 ms·
If you only have one core threading remains an expensive abstraction both computationally and mentally. Without at least two cores there’s no reason to prefer t
by morelisp 4y ago
If you only have one core threading remains an expensive abstraction both computationally and mentally. Without at least two cores there’s no reason to prefer threading to coroutines, select(2), state machine loops, etc.
- lesserknowndan 4y agoYes, but having threading is important if you can then run that code on a super computer to get the benefits - I’m talking about yesteryear when you’re own computer might have a single core Pentium II or something, but you could then run it on an SGI or other with a lot of parallelism.