News for hackers. Stuff that matters.
Re:What every programmer should know about memory by terminus on Tuesday July 13, 2010 @03:36PM (#1512479)
That's a false dilemma.

Higher level thinking, more expressive languages and tools don't preclude you from looking at low levels of your abstractions.

Edit: Looks like we were talking past each other. I was talking about the complete article (the non-EE bits are about VM, cache, NUMA awareness, memory management for multi-threaded programs etc.) The tail end of the OP's link, links to the rest of the parts.

Re:What every programmer should know about memory by pacemkr on Tuesday July 13, 2010 @03:56PM (#1512512)
I never said they did. In fact, I explicitly mentioned that I've explored other levels of abstraction.

What I am saying is that low level thinking such as depicted in the article has little to no value to the programmer.

Re:What every programmer should know about memory by terminus on Tuesday July 13, 2010 @04:24PM (#1512617)
How are you so positive about the lack of value to the programmer? What if you are programming at a low level?

Performance-optimization/OS kernel/HPC inner loops/Power-sensitive code (think mobile devices)?

Re:What every programmer should know about memory by Groxx on Tuesday July 13, 2010 @04:41PM (#1512676)
Have you read the article? Where in there do you see any information pertaining to that kind of use? The "commodity hardware today" section is a broad, useful-content-free overview of architecture, without enough information to draw any conclusions. The "RAM types" section has nothing to do with any of your example categories. It helps how, precisely, to know which wire is energized to withdraw a bit from an SRAM circuit?

pacemkr isn't saying all low level info is useless to programmers, just the article's focus.

Re:What every programmer should know about memory by terminus on Tuesday July 13, 2010 @04:56PM (#1512711)
Yes I have read the article. It is in the seven or so parts. You seem to be talking only about the first page.

Part 5 deals with cache optimization. Part 6 deals with multi-threaded optimizations. Other parts deal with various layers of the memory hierarchy (VM, caches etc.)

Re:What every programmer should know about memory by Groxx on Tuesday July 13, 2010 @05:02PM (#1512734)
I am, yes. Haven't read the whole thing; I may, the later parts look significantly more useful.

I, personally, only take issue with the EE-heavy portion; it only serves to obfuscate what's important with way too much (programmer-)useless info, and maybe to scare off people who could otherwise benefit from the rest of the article. I'm fairly certain that the OP of this thread views it the same way, as they mentioned:

"I've enjoyed it all, but there is zero reason for a programmer to know almost anything from that page. You can make phenomenal software without ever knowing what a transistor looks like on paper;"

implying just a single page (the one linked), and EE-only content.

Re:What every programmer should know about memory by Groxx on Tuesday July 13, 2010 @03:59PM (#1512522)
But one does not need to know the behavior of atoms (if we even do) in order to whittle wood. There's a tipping point for everyone.