3 ms·
"A Computer is a state machine. Threads are for people who can't program state machines" (Alan Cox)
by diegocg 6y ago
"A Computer is a state machine. Threads are for people who can't program state machines" (Alan Cox)
- rantwasp 6y agonot sure if serious or trolling but this sounds like trolling. the reason we use threads is that they are a higher level abstraction that helps us keep the cognitive load down and focused on the layer we care about.
- barbegal 6y agoWhat does this mean in practise? I think this comes from the days of single core machines where going to multiple threads can't improve performance. But even on a single core device, threading is routinely used because a single state machine becomes to big to easily program