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

  • @vzq
    link
    63 days ago

    A very specific subset of a very specific version of C++.

    Unless they went all in on the recent C standard.

    • @[email protected]
      link
      fedilink
      83 days 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
        43 days ago

        What was it written in, C?

          • @Valmond
            link
            13 days ago

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

            • @[email protected]
              link
              fedilink
              83 days 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
                13 days ago

                Thanks for the explanation!