from Hacker News

Why is C the safest language? [pdf]

by quelsolaar on 1/8/25, 11:13 PM with 5 comments

  • by ouksal on 1/8/25, 11:43 PM

    Operating Systems: Almost every modern OS, including Linux, Windows, macOS, and even microkernel systems, has its kernel written predominantly in C.

    Compilers: The compilers for many higher-level languages (e.g., GCC, Clang) are either written in C or C++ (itself derived from C).

    Network Stacks: C dominates the implementation of networking protocols. Browser engines, routers, and switches heavily rely on C for their performance-critical network stacks.

    Browsers: Chrome, Firefox, Safari, and Edge all have engines written in C or C++ (e.g., Blink, Gecko, WebKit). These engines drive the rendering of the web.

    Database Systems: Many databases (e.g., MySQL, PostgreSQL) rely on C for their core implementations due to its speed and fine-grained control over resources.

  • by dpc_01234 on 1/9/25, 4:15 PM

    SWE version of Flat Earth theory.
  • by miraculixx on 1/9/25, 7:45 PM

    If you squint hard enough he's got a point (just not the way he thinks)