• @[email protected]
      link
      fedilink
      27
      edit-2
      1 month ago

      No. It’s only about the kernel itself, not Linux Systems(aka Distributions).

      Earlier the kernel did only consist of C code, but for some time now the option to develop parts of the kernel in Rust is being worked on. In the end it both compiles to native machine code. The running kernel does not require the Rust toolchain to be present.

      • Ephera
        link
        fedilink
        English
        131 month ago

        Yeah, Python requires a “runtime” program, which interprets the Python code and then translates it into native machine code to actually execute it. Because Rust is compiled directly to native machine code by the developer, you don’t need a runtime program on your PC to run Rust programs.

        This is also one of the biggest reasons why Rust can be used for kernel development. You cannot rely on a runtime program for developing a kernel, since launching a program requires a kernel to already be up and running.

    • @patatahooligan
      link
      21 month ago

      The other commenter already answers your quest, but I will just point out that python doesn’t come included “on Linux”. It just happens to be a dependency of so much stuff that some other packages is going to pull it in. A minimal distro which doesn’t include programs written in python will probably not have python installed at all.

        • Fonzie!
          link
          fedilink
          118 days ago

          But then, Python is an interpreted language so you need the interpreter installed. You do need JavaScript’s interpreter for Node applications IIRC

          • setVeryLoud(true);
            link
            fedilink
            117 days ago

            Most of the time it’s bundled in the application, unless it’s a server app or a dev toolkit.

            • Fonzie!
              link
              fedilink
              117 days ago

              Hah. Tell that to Mint and it’s bundled software!

              Although, Mint’s not alone in this. In general, if Python came pre-installed on your Linux system, uninstalling it tends to break a whole bunch of pre-installed software.