News for hackers. Stuff that matters.
Re:What is the enlightenment I'm supposed to attain after st... by eternalban on Sunday December 23, 2012 @11:04PM (#4961809)
> If you instead envision a FA as being a flying head that moves back and forward across a tape that is fixed in space, the ideas behind modern CPUs become much more clear: the tape is memory, the FA is a CPU being stepped through successive states, and the 'location' of the FA is the PC register.

It would seem an apt analogy for the (basic) Von Neumann architecture, but "modern" CPUs have a hierarchy of "cache lines" that quite neatly -- at least in my mind -- map to a FA "fixed in space" [the cache line], with a "magical tape" [virtual memory and cache coherence].

Re:What is the enlightenment I'm supposed to attain after st... by jacquesm on Monday December 24, 2012 @12:25AM (#4961976)
The key insight is that they're essentially the same thing.
Re:What is the enlightenment I'm supposed to attain after st... by mcmatterson on Monday December 24, 2012 @09:44AM (#4962923)
Of course -- the reality of even the simplest CPU is obviously much, much more complex than what I described above. The analogy is really only helpful as a bridge between the world of theory, and the CPU as it exists in the world.
Re:What is the enlightenment I'm supposed to attain after st... by mcmatterson on Monday December 24, 2012 @09:45AM (#4962934)
Also, I'm interested in what you mean by the correspondence with cache hierarchies. Could you elaborate?