• jokro@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      17 days 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@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        17 days 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@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      16 days 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!@ttrpg.network
          link
          fedilink
          arrow-up
          1
          ·
          1 day ago

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

            • Fonzie!@ttrpg.network
              link
              fedilink
              arrow-up
              1
              ·
              14 hours 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.