C is not a low-level language

In the wake of the recent Meltdown and Spectre vulnerabilities, it’s worth spending some time looking at root causes. Both of these vulnerabilities involved processors speculatively executing instructions past some kind of access check and allowing the attacker to observe the results via a side channel. The features that led to these vulnerabilities, along with several others, were added to let C programmers continue to believe they were programming in a low-level language, when this hasn’t been the case for decades.

Processor vendors are not alone in this. Those of us working on C/C++ compilers have also participated.

59 Comments

  1. 2018-05-22 10:24 am
    • 2018-05-22 10:59 am
      • 2018-05-22 11:23 am
        • 2018-05-22 12:43 pm
          • 2018-05-22 12:59 pm
          • 2018-05-22 3:00 pm
          • 2018-05-22 6:07 pm
          • 2018-05-22 10:27 pm
          • 2018-05-23 6:14 pm
          • 2018-05-23 10:34 pm
          • 2018-05-23 11:05 pm
          • 2018-05-22 6:21 pm
          • 2018-05-22 9:27 pm
        • 2018-05-26 1:36 pm
    • 2018-05-22 11:31 am
      • 2018-05-22 11:43 am
        • 2018-05-22 12:50 pm
          • 2018-05-22 3:57 pm
          • 2018-05-22 9:49 pm
        • 2018-05-22 1:01 pm
          • 2018-05-24 10:39 am
        • 2018-05-22 1:50 pm
        • 2018-05-22 2:33 pm
        • 2018-05-22 2:34 pm
          • 2018-05-22 10:22 pm
    • 2018-05-22 12:31 pm
    • 2018-05-22 4:01 pm
    • 2018-05-22 4:04 pm
      • 2018-05-22 10:13 pm
        • 2018-05-22 11:02 pm
  2. 2018-05-22 10:39 am
    • 2018-05-22 10:53 am
      • 2018-05-22 11:20 am
      • 2018-05-22 11:34 am
      • 2018-05-22 2:32 pm
        • 2018-05-23 4:45 am
          • 2018-05-24 8:02 pm
  3. 2018-05-22 11:26 am
    • 2018-05-22 11:38 am
    • 2018-05-22 12:22 pm
      • 2018-05-22 12:24 pm
    • 2018-05-22 1:09 pm
      • 2018-05-24 10:26 am
  4. 2018-05-22 12:49 pm
    • 2018-05-22 2:05 pm
      • 2018-05-22 2:20 pm
        • 2018-05-22 3:55 pm
  5. 2018-05-22 2:13 pm
  6. 2018-05-22 2:28 pm
  7. 2018-05-22 3:00 pm
    • 2018-05-22 9:05 pm
  8. 2018-05-22 5:18 pm
  9. 2018-05-22 5:48 pm
  10. 2018-05-22 11:14 pm
  11. 2018-05-23 2:09 am
    • 2018-05-24 8:11 pm
  12. 2018-05-23 7:31 pm
  13. 2018-05-25 5:29 am
    • 2018-05-26 4:29 pm