4 ms·
It's used in bits of kernel programming - often because there is no other way to do the task.
by rythie 17y ago
It's used in bits of kernel programming - often because there is no other way to do the task.
- tptacek 17y agoModern kernels have very little assembly, outside of things like locore. They've heavily abstracted away the things you'd normally write in assembly, like modifying MSRs; also, so much of what you do now is simply memory mapped. In all of xnu, not counting AES, there are ~17kloc in x86 assembly, most of it in osfmk/i386 --- where no normal developer is ever going to go. There are over 730kloc in C.