News for hackers. Stuff that matters.
Re:What Every Programmer Should Know About Memory (2007) [pdf] by saberience on Monday March 04, 2019 @03:33PM (#19305094)
Computer Science is a different discipline to Software Engineering.

I would argue that sure, if you want to be a PhD, academic, researcher etc, in Computer Science, then reading said article might be useful.

For engineers working at companies whose goal is to get product to market faster, coding ruby on rails, javascript, making web apps, websites, it's far more useful knowing your web frameworks well and being able to iterate fast, than knowing the intimate mathematical details of floating point arithmetic.

Computer Science != engineering. It's like saying knowing physics is the same thing as knowing how to build a building.

Re:What Every Programmer Should Know About Memory (2007) [pdf] by nickpsecurity on Monday March 04, 2019 @04:41PM (#19305855)
The referenced work talks about floating point errors that both computer scientists and field engineers need to avoid. Many folks in both camps screw up on floating point code without such guidance. So, at least that part is potentially helpful.

You just proved their point about how you'd reply, though.

Re:What Every Programmer Should Know About Memory (2007) [pdf] by saberience on Monday March 04, 2019 @06:08PM (#19306581)
Proved their point? Their point didn't make much sense.

What actual engineers NEED to know about floating point numbers could be put on a single A4 page. It doesn't have to be 50 pages, where many of those pages are full of equations that 99% of engineers don't understand.

My point is, because you seem to have trouble grasping this. Most real-world programmers, working at startups or bigger companies, making their WPF applications or Spring applications, or react/jquery/angular apps, or Swift IOS apps, etc, do not NEED to know 99% of this document. For most real-life cases all they need to know is "Use the decimal type if you're dealing with money" or something along those lines.

Why do I know I'm correct? Because I work in an organization with 800-1000 engineers, and I know a fair few of them myself, and I bet maybe 1 person in the org has read this doc fully (and even this is a stretch). But the company stills makes billions in revenue every year like clockwork and the world keeps on spinning.

Hence, this document is for theorists and academics, not for the average engineer making enterprise business applications. If it is for an engineer, it's for someone making extremely niche mathematical software or something equally arcane.

Re:What Every Programmer Should Know About Memory (2007) [pdf] by Stratoscope on Monday March 04, 2019 @07:57PM (#19307218)
> ...you seem to have trouble grasping this.

Please don't insult people like that.

If someone doesn't follow your reasoning, take responsibility yourself and find another way to explain the point so others may understand it more easily.

Re:What Every Programmer Should Know About Memory (2007) [pdf] by chrisseaton on Monday March 04, 2019 @08:04PM (#19307248)
I know that beginner Ruby programmers are constantly surprised by floating point arithmetic results due to not understanding how they work. I see it all the time.
Re:What Every Programmer Should Know About Memory (2007) [pdf] by arvinsim on Monday March 04, 2019 @09:25PM (#19307611)
> What actual engineers NEED to know about floating point numbers could be put on a single A4 page.
Re:What Every Programmer Should Know About Memory (2007) [pdf] by chrisseaton on Tuesday March 05, 2019 @02:23AM (#19308754)
I don’t think you could explain the issues sufficiently on one page. I think you'd be left with more questions and confusion than answers.
Re:What Every Programmer Should Know About Memory (2007) [pdf] by gdy on Tuesday March 05, 2019 @07:02AM (#19309953)
"Proved their point? Their point didn't make much sense."

"My point is, because you seem to have trouble grasping this, ..."

Ha-ha, the irony.