Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
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
    F

    FutureChips

    futurechips.org · Personal blog · on HN since 2011

    FutureChips covers computer architecture and performance for programmers, including prefetching, parallel programming, Amdahl's law and code that compilers handle badly.

    Visit blogHN submissions
    Systems & PerformanceHardware & Electronics
    What HN says

    HN discusses its posts on C performance and hardware prefetching; one commenter flagged a submission as spam, and another said the author speculated beyond what he knew.

    Stats for nerds
    15HN people shared it
    34linked in comments
    237story points
    Jun 2012last shared
    2011people per year2012

    Top posts on HN

    1. 1
      How to trick C/C++ compilers into generating terrible code?
      4 people · 66 points · first shared 2011 · 18 comments on HN
    2. 2
      What programmers need to know about hardware prefetching?
      2 people · 49 points · first shared 2011 · 7 comments on HN
    3. 3
      Computer Science Self-assessment Quiz (+answers)
      1 person · 23 points · first shared 2011 · 11 comments on HN
    4. 4
      Discussion: Aren't loops the only interesting code?
      1 person · 14 points · first shared 2011 · 8 comments on HN
    5. 5
      Parallel Programming: Amdahl’s Law or Gustafson’s Law
      1 person · 13 points · first shared 2011 · Discussion on HN
    6. 6
      Parallel Programming: Understanding the impact of Critical Sections
      2 people · 12 points · first shared 2011 · 1 comments on HN
    7. 7
      Why Amdahl's law is often used incorrectly?
      1 person · 7 points · first shared 2011 · 1 comments on HN
    8. 8
      Quiz: How well do you know CPUs/Microprocessors?
      1 person · 7 points · first shared 2011 · 6 comments on HN
    9. 9
      What’s Wrong With GNU make?
      1 person · 6 points · first shared 2011 · 1 comments on HN
    10. 10
      Should you ever use Linked-Lists?
      3 people · 4 points · first shared 2011 · 1 comments on HN

    What HN people wrote when they linked it

    • jacquesmMay 2012

      > I'm not familiar with the internals of the prefetcher of any CPU at this level

      So better not speculate, what you think could be done when you are not familiar with the details typically tends to be a lot harder when you are familiar with the details and are tasked with the implementation. The devil is in the details and there is a very appreciable gap between theory and practice.

      Further reading: http://www.futurechips.org/chip-design-for-all/prefetching.html

      Note the caution against using lists and trees and an advice to stick to arrays, which are typically accessed sequentially.

      > Btw. you can add prefetch instructions in your code manually if you do linked list traversals or similar. In GCC you can use __builtin_prefetch() compiler intrinsic.

      And that is exactly the point, if you don't supply the knowledge neither the processor nor the compiler can do this for you. If the processor or the compiler could do this then those __builtin_prefetch calls would not be required.

    • gurkendoktorJun 2012

      I think the most dangerous part of C is that many people assume C is perfectly efficient. It's as if C was the "100%" of performance and other languages are converging towards it as they get better.

      But I don't see how this is true. Pointer aliasing is the biggest example probably:

      http://www.futurechips.org/tips-for-power-coders/how-to-trick-cc-compilers-into-generating-terrible-code.html

      And then there is the huge abstraction penalty for things like `qsort()` where C++ is actually way ahead of C.

    • profquailSep 2011

      I'm usually the first to upvote well-written GPGPU articles, but I'm flagging this as spam. See:

      http://news.ycombinator.com/submitted?id=iliastsagklis
      http://news.ycombinator.com/submitted?id=kioub
      http://news.ycombinator.com/submitted?id=javacodegeeks

      Not to mention, it's a direct copy of this post (which they've credited; but still it smells like spam): http://www.futurechips.org/chip-design-for-all/cpu-vs-gpgpu.html

    Related

    Arm Community Blogcommunity.arm.com147 people

    An update on GNU performance

    Arm Community Blog
    Company · last shared 2025
    Agner Fogagner.org293 people

    An optimization guide for assembly programmers and compiler makers (2018) [pdf]

    Agner Fog
    Personal · last shared 2026
    Probably Danceprobablydance.com74 people

    Fibonacci Hashing: The Optimization That the World Forgot

    Probably Dance
    Personal · last shared 2026
    Random ASCIIrandomascii.wordpress.com274 people

    There are only four billion floats, so test them all (2014)

    Random ASCII
    Personal · last shared 2026
    Chris Wellonsnullprogram.com295 people

    Why Aren't There C Conferences?

    Chris Wellons
    Personal · last shared 2026
    Jeff Preshingpreshing.com147 people

    An Introduction to Lock-Free Programming (2012)

    Jeff Preshing
    Personal · last shared 2026
    Chips and Cheesechipsandcheese.com185 people

    Google's Liquid Cooling

    Chips and Cheese
    Publication · last shared 2026
    FP Complete Blogfpcomplete.com201 people

    Monads and GATs in Nightly Rust

    FP Complete Blog
    Company · last shared 2025