News for hackers. Stuff that matters.
Re:Why Registers Are Fast and RAM Is Slow by yan on Friday October 11, 2013 @11:45AM (#6533852)
For a way more detailed look at memory architectures and implementation, check out Ulrich Drepper's classic paper "What Every Programmer Should Know About Memory"[1]

[1] http://www.akkadia.org/drepper/cpumemory.pdf

Re:Why Registers Are Fast and RAM Is Slow by demallien on Friday October 11, 2013 @02:52PM (#6535119)
Or on a more light-hearted note: http://folklore.org/StoryView.py?project=Macintosh&story=Sou...

Which just goes to show, hitting memory is a Bad Thing(tm) even when you're running on a slow(from today's perspective) processor like a 68000.

Re:Why Registers Are Fast and RAM Is Slow by raverbashing on Friday October 11, 2013 @03:40PM (#6535447)
Very impressive

Doing 22kHz generation on a Macintosh is very close to the limit

Re:Why Registers Are Fast and RAM Is Slow by derleth on Friday October 11, 2013 @10:01PM (#6536941)
It wasn't always thus: On the 6502, which the early Apple II machines were built around, it was possible to access RAM at only a one- or two-cycle penalty compared to doing everything in registers and immediate values. This was only the case if you used zero-page memory without indexing, however, so you couldn't have a lot of stuff in RAM without incurring more speed penalties.

http://www.6502.org/tutorials/6502opcodes.html

(Zero-page memory on the 6502 was the memory accessed via addresses with a high byte of 0x00. Since 6502 had sixteen-bit RAM addressing, this meant each page was 256 bytes large, so the zero-page was almost as good as having 256 single-byte registers.)

Re:Why Registers Are Fast and RAM Is Slow by bloodorange on Friday October 11, 2013 @01:26PM (#6534516)
This, ladies and gentlemen, is a particularly detailed and good read. Please do give it a glance if you haven't already.
Re:Why Registers Are Fast and RAM Is Slow by solarexplorer on Friday October 11, 2013 @06:53PM (#6536342)
If you want to buy good book on the topic: "Memory Systems: Cache, DRAM, Disk" by Bruce Jacob, Spencer Ng, David Wang
Re:Why Registers Are Fast and RAM Is Slow by yan on Wednesday October 16, 2013 @12:31PM (#6560564)
A few days late, but thanks