• BartyDeCanter@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      There is no C++ allowed in the Linux kernel and Linus has gone on several major rants about how terrible a language it is.

        • BartyDeCanter@lemmy.sdf.org
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          According to the github analysis, the kernel repository is:

          • C 98.3%
          • Assembly 0.7%
          • Shell 0.4%
          • Makefile 0.2%
          • Python 0.2%
          • Perl 0.1%
          • Other 0.1%

          So yeah, its basically all C, plus a tiny bit of assembly for very low level bootstrapping and some helper scripts.

        • ozymandias117@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          There’s assembly and makefiles too

          Less of a joke answer, there has been work to allow Rust bindings for drivers.

  • Bye@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    The day I learned that Linus shares my disdain for all things OOP was such a good day for me.