Linked by Thom Holwerda on Mon 6th Aug 2012 21:50 UTC, submitted by iseyler
General Development I asked for more of this, and I got it. "There has been much interest in assembly lately (whether the real 6502, or the fictional DCPU-16; I even created my own virtual 8-bit CPU called i808 in 2007), but none of this attention focuses on the architecture that is most popular in today's computers. If you are reading this on a desktop, laptop, or server then your computer is most likely using x86-64 (or x86). x86-64 is the 64-bit superset of the 32-bit x86 architecture and any modern CPU from AMD or Intel supports it. This document will focus on the most used parts of x86-64."
Thread beginning with comment 530296
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[7]: Uh?
by ilovebeer on Wed 8th Aug 2012 14:51 UTC in reply to "RE[6]: Uh?"
ilovebeer
Member since:
2011-08-08

Linux is not the only kernel in town, and not all provide C API abstractions to access the hardware.

No, of course not. I used only one example.

Sure, it may be that he never needed, but if he is writing drivers, for sure he will eventually need to get either touch Assembly or have someone else do it.

He's been paid to write drivers for over 10 years (probably closer to 15) and that has not been true yet.

Linux kernel version 3.4.7 driver tree has

- 8 Assembly files;
- 58 C files making use of inline Assembly;

So in other words, only a small minority of drivers in the Linux kernel are using asm, which makes my point again that asm is not always a must.

If you care, I can also list use cases for every single point I've listed on my previous comment.

It's not very hard to cite real situations, or dream ones one that asm would be needed. The point is that you said asm is a must -- you did not say it's a must just in certain situations. When I say it's untrue that asm is a must for at least half the things on your list, I am not wrong. You even support this fact yourself (see above).

I never said asm is never needed, but you did say it always is and that is incorrect.

Reply Parent Score: 3

RE[8]: Uh?
by moondevil on Wed 8th Aug 2012 16:45 in reply to "RE[7]: Uh?"
moondevil Member since:
2005-07-08

Are you native English speaker?

I am not.

For me

Than knowing Assembly is really a must.


Means that it is something you should learn as it will make your life easier in many situations.

Reply Parent Score: 2

RE[9]: Uh?
by ilovebeer on Wed 8th Aug 2012 20:27 in reply to "RE[8]: Uh?"
ilovebeer Member since:
2011-08-08

Are you native English speaker?

I am not.

For me

Than knowing Assembly is really a must.

Means that it is something you should learn as it will make your life easier in many situations.

I'm a native English speaker, yes. It seems we actually agree more than disagree, and just stumbled over a misunderstanding. "Must" is used to note a requirement, not a recommendation. No harm, no foul. ;)

Reply Parent Score: 2