This description of C++ is misleading at best (C++ is used for “Air Travel”?), but saying its used to “make Linux” is just wrong.

  • @[email protected]
    link
    fedilink
    72 months ago

    Linux kernel doesn’t use C++ at all.

    Though if you widen the definition of “Linux OS” beyond the kernel then it’s used in many places of course (especially KDE).

    • @Valmond
      link
      42 months ago

      What was it written in, C?

        • @Valmond
          link
          12 months ago

          Thanks! Is it like 100% Rust now? Or am I totally wrong here.

          • @[email protected]
            link
            fedilink
            82 months ago

            Not, there is very little Rust in the kernel. It’s still WIP and there no real world Rust drivers in the mainline repo yet. It will probably change “soon”, but even then Linux will remain 99% C for the foreseeable future. You can’t just rewrite something like that in Rust.

            • @Valmond
              link
              12 months ago

              Thanks for the explanation!

    • @vzq
      link
      1
      edit-2
      2 months ago

      I don’t think you understood the post.

      C++ was a strict superset of C for many many years. Until very recently, all C was definitionally also C++.