4 ms·
That's part of it. Now consider the CPU probably has multiple cores, so the "loop" as you have it, isn't a single thread. It's quite fuzzy. Add in the many tri
by ksaj 6y ago
That's part of it. Now consider the CPU probably has multiple cores, so the "loop" as you have it, isn't a single thread. It's quite fuzzy.
Add in the many tricks CPUs employ, like branch prediction, re-ordering, et al. Things don't happen in sequential order anymore, and multiple chunks of that code are being operated on at the same time.
Even Assembler is pretty much a high level language nowadays, because once its loaded in memory, lots of unseen permutations will happen to it at execution time. It's a language of macros after all.
- atoav 6y agoA question of scope. Do you want people to understand every intricate of the system? Do you want them to grasp the basic concept? Or do you want people to be able to use it on a day to day basis? These are very different courses
- porknubbins 6y agoFor my part I just want to answer basic questions that will help me understand the Linux kernel workings. The assembly and hardware details are a different, lower level issue.
- saagarjha 6y agoCPUs are very constrained on the kinds of reordering they are allowed to visibly exhibit.