Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Memory systems

    Memory systems

    Bruce Jacob · 2008

    Systems & OSElectronics & Hardware
    Open LibraryAmazon
    Stats for nerds
    2recommend
    5mentions
    3people
    2009–2026years
    60% recommend40% neutral

    Mentions per year

    2009201120132015201720192021202320252026

    What Hacker News says

    1. rramadassJul 2026
      Caches and Memory Systems have to be looked at from three related perspectives viz. a) Hardware/SoC/Physical level b) OS/Compiler system software level c) Applications usage level.

      To that end;

      1) Buy/Beg/Borrow/Steal the Curt Schimmel book mentioned above. That one book will teach you all about how OSes manage caches/memory for SMP multiprocessing systems. You really get to understand multiprocessing at a fundamental level.

      2) Memory Systems: Cache, DRAM, Disk by Bruce Jacob et al. - Old classic and a comprehensive book on all aspects of memory systems. Supplement with papers on newer technologies as needed.

      3) Ulrich Drepper's classic What every Programmer should know about Memory - https://news.ycombinator.com/item?id=36420502

      4) Cache-Oblivious Algorithm - https://en.wikipedia.org/wiki/Cache-oblivious_algorithm See in particular, Harald Prokop's thesis on the above linked to under "References" section.

      5) Cache-aware Programming pattern from the book Game Programming Patterns - https://gameprogrammingpatterns.com/data-locality.html

      6) There are lots more resources on cache-aware programming and using compiler builtins to help you do it. Here is a list of tips - https://johnnysswlab.com/make-your-programs-run-faster-by-be... This website has a lot of info. on all aspects of memory optimization.

      7) AoS and SoA - https://en.wikipedia.org/wiki/AoS_and_SoA

      thread
    2. rramadassMay 2023
      Related oldie and good starting point : Memory Systems: Cache, DRAM, Disk by Bruce Jacob et al.
      thread
    3. solarexplorerOct 2013
      If you want to buy good book on the topic: "Memory Systems: Cache, DRAM, Disk" by Bruce Jacob, Spencer Ng, David Wang
      thread
    4. rramadassSep 2022
      Related oldie (but not a DS book) - Memory Systems: Cache, DRAM, Disk by Bruce Jacob et.al.
      thread
    5. terminusJul 2009
      A detailed (maybe too detailed) look at the interaction between Hierarchies of Memory and CPUS. Memory Systems: Cache, Memory, Disk [ http://www.amazon.com/Memory-Systems-Cache-DRAM-Disk/dp/0123... ]
      thread

    Related

    Computer System DesignMichael J. Flynn
    2017–2026

    Computer System Design

    Michael J. Flynn
    4 recommend · 9
    Introduction to Embedded SystemsEdward A. Lee
    2019–2026

    Introduction to Embedded Systems

    Edward A. Lee
    3 recommend · 11
    Cover of UNIX systems for modern architectures
    2009–2026

    UNIX systems for modern architectures

    Curt Schimmel
    4 recommend · 11
    Cover of ARM system developer's guide
    2010–2026

    ARM system developer's guide

    Andrew Sloss
    4 recommend · 4
    Cover of Patterns for Time-Triggered Embedded Systems
    2013–2025

    Patterns for Time-Triggered Embedded Systems

    Michael J. Pont
    3 recommend · 11
    Cover of Compiler construction for digital computers
    2015–2026

    Compiler construction for digital computers

    David Gries
    1 recommend · 7
    Cover of Modern X86 Assembly Language Programming
    2016–2020

    Modern X86 Assembly Language Programming

    Daniel Kusswurm
    2 recommend · 4
    Cover of Embedded C
    2010–2024

    Embedded C

    Michael J. Pont
    1 recommend · 3