The Importance of Low-Level Languages?

  • (2 Pages)
  • +
  • 1
  • 2

17 Replies - 1569 Views - Last Post: 02 May 2012 - 10:29 AM

#16 sepp2k  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1690
  • View blog
  • Posts: 2,553
  • Joined: 21-June 11

Re: The Importance of Low-Level Languages?

Posted 02 May 2012 - 08:30 AM

View PostBobRodes, on 02 May 2012 - 03:40 PM, said:

Nor can I see how the fact that some black bears are brown refutes the assertion that most of them are black.


I wasn't trying to refute that.

Note that I said "This is also something that only applies up to a certain level of abstraction", not "This is also something that is completely false". I'm not saying that knowledge of assembler or machine internals is useless. I just wanted to point out that it's only useful to a point.

To clarify things a bit: There seem to be two different discussions going on here:

a) Will knowing assembler and machine internals help you understand and reason about how your code will be executed by the machine and how it will perform?

and

b) Will it help you find mistakes?

My position on a is: Yes, but only up to a certain level of abstraction. And even for lower level languages, you should not rely on it too much (which is to say you shouldn't micro-optimize based on what you think the generated assembly will look like without benchmarking first) because due to compiler optimizations the generated assembly might look very different from what you'd expect.

My position on b is: No.

This post has been edited by sepp2k: 02 May 2012 - 08:38 AM

Was This Post Helpful? 0
  • +
  • -

#17 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon

Reputation: 5427
  • View blog
  • Posts: 8,727
  • Joined: 19-March 11

Re: The Importance of Low-Level Languages?

Posted 02 May 2012 - 08:31 AM

Quote

I just wanted to point out that it's only useful to a point.



I think our only disagreement is the precise location of that point.
Was This Post Helpful? 0
  • +
  • -

#18 BobRodes  Icon User is offline

  • Your Friendly Local Curmudgeon
  • member icon

Reputation: 547
  • View blog
  • Posts: 2,904
  • Joined: 19-May 09

Re: The Importance of Low-Level Languages?

Posted 02 May 2012 - 10:29 AM

Quote

I just wanted to point out that it's only useful to a point.
Me too. Sorry for the lack of clarity. :)
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2