Skip to Content
Write Great Code, Volume 1, 2nd Edition
book

Write Great Code, Volume 1, 2nd Edition

by Randall Hyde
August 2020
Intermediate to advanced
472 pages
13h 37m
English
No Starch Press
Content preview from Write Great Code, Volume 1, 2nd Edition

11MEMORY ARCHITECTURE AND ORGANIZATION

Image

This chapter discusses memory hierarchy—the different types and performance levels of memory found in computer systems. Although programmers often treat all forms of memory as though they are equivalent, using memory improperly can have a negative impact on performance. In this chapter you’ll see how to make the best use of the memory hierarchy within your programs.

11.1 The Memory Hierarchy

Most modern programs benefit by having a large amount of very fast memory. Unfortunately, as a memory device gets larger, it tends to be slower. For example, cache memories are very fast, but they are also small and expensive. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Write Great Code, Volume 2, 2nd Edition

Write Great Code, Volume 2, 2nd Edition

Randall Hyde

Publisher Resources

ISBN: 9781098125646