• thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    20 days ago

    So could have Java, Go, C# or any language with GC.

    No. Those aren’t allowed in Linux Kernel.

    With garbage collection

    Garbage Collection is not usable in an operating system Kernel.

    • xmo748@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      20 days ago

      Clearly, but it’s worth pointing out that this kind of problem isn’t uniquely fixed by “just use Rust”.

      • thingsiplay@lemmy.ml
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        20 days ago

        I never said that only Rust prevents this. I just said using Rust in the Kernel would have prevented this issue.