News for hackers. Stuff that matters.
Re:A hardware lesson for software devs: from logical gates t... by groby_b on Thursday December 20, 2012 @02:53PM (#4949575)
As an old-school software gal, it's amazing to me how software engineers these days think, too. The sentence "ever wondered why integers in software are powers of two?" made a very powerful point for me - namely, how far software engineering these days is removed from the underlying implementation.

Mind, I don't fault the author for being surprised. It's a logical consequence of that remove. But as somebody who grew up with blinkenlights and core memory, the idea of not knowing this fact is completely foreign to me, even though I have no HW skills worth mentioning.

Part of me wonders if that means we should teach SW engs about those realities. Especially given the authors wide-eyed realization that all that code executes in parallel, all the time. It's a mental model that seems rather useful given the amount of parallelism we see and will be seeing.

Or maybe I'm just old and grumpy ;)

Re:A hardware lesson for software devs: from logical gates t... by alonho on Thursday December 20, 2012 @03:51PM (#4949895)
I'm the author. First, I'd like to point out that I started out as a programmer for embedded devices.. so I did know about the parallel nature and powers of two. BUT, I do know lots of programmers who don't. My intention was to teach those who know nothing of computer hardware and are asking these questions. Hopefully you'll be less grumpy now. (:
Re:A hardware lesson for software devs: from logical gates t... by groby_b on Thursday December 20, 2012 @05:16PM (#4950419)
Oh, my grumpyness is unrelated to the article :)

As I said, I don't see not knowing this as a fault - it's a product of our current environment and the fact that the gulf between HW and SW has widened. As such, it's not making me grumpy. I just thought it made an interesting point about how much we've progressed.

And good on you for pointing it out and teaching about it!

Re:A hardware lesson for software devs: from logical gates t... by joshAg on Thursday December 20, 2012 @05:30PM (#4950462)
I don't think you're old and grumpy; I graduated in 2011, and was just as shocked as you.