Linked by Thom Holwerda on Mon 6th Aug 2012 21:50 UTC, submitted by iseyler
Thread beginning with comment 530168
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
Please elaborate how it is untrue.
Quite simply the fact that asm isn't a must. We'll take the first item on your list as an example -- drivers. I invite you to join any of the numerous mailing lists used for Linux driver development. Ask people who actually write drivers if they agree that asm is a must and you will get a resounding no. For that matter, many of the guys writing drivers have zero asm experience. I have a friend who has worked for a handful of major chip makers and the only requirement placed on him, ever, was his willingness to sign NDA's. He also has no asm experience.
Since you made the claim, perhaps you should explain why you think it is, despite the fact we already know it isn't.
"Please elaborate how it is untrue.
Quite simply the fact that asm isn't a must. We'll take the first item on your list as an example -- drivers. I invite you to join any of the numerous mailing lists used for Linux driver development.
Ask people who actually write drivers if they agree that asm is a must and you will get a resounding no. "
Well, back on my long gone university days. Every CS student had to do driver projects in multiple operating systems. So I guess I do have some experience with drivers. On those days Linux was still being brewed.
Linux is not the only kernel in town, and not all provide C API abstractions to access the hardware.
There three ways to access hardware:
- Memory mapped I/O
- Processor instructions to talk via I/O ports
- Processor instructions to talk via traps (not so common)
Specific hardware sometimes requires initialization steps not covered by the way the kernel abstracts the above forms of I/O communication.
For that matter, many of the guys writing drivers have zero asm experience. I have a friend who has worked for a handful of major chip makers and the only requirement placed on him, ever, was his willingness to sign NDA's. He also has no asm experience.
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.
Linux kernel version 3.4.7 driver tree has
- 8 Assembly files;
- 58 C files making use of inline Assembly;
Since you made the claim, perhaps you should explain why you think it is, despite the fact we already know it isn't.
If you care, I can also list use cases for every single point I've listed on my previous comment.





Member since:
2005-07-08
Please elaborate how it is untrue.