Skip to content

Comment on Why Registers Are Fast and RAM Is Slowparent

Comments

So, I'm a bit confused. Are registers SRAM? Or are they faster than SRAM?

Any of these computer architecture concepts: register file, L1/L2/L3 cache, main memory

Can be implemented with any of these components: DRAM, SRAM, D-FF (flip-flops)

It's common for main memory (in embedded systems) and register files to use SRAM. But you can also implement the registers with flip-flop banks, and get something bulkier but faster. I'm not sure what Intel/AMD does.

That's an awesome explanation. Thank you. [Making obvious reference to how relevant your username is]

AboutSource Built by g1lg1l

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