Skip to content

Comment on Every Computer System Is a State Machine

Comments

"A Computer is a state machine. Threads are for people who can't program state machines" (Alan Cox)

What 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

not 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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.