• burgersc12
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    3
    ·
    11 hours ago

    Basically just “but two languages is HARD”

    • deadcream@sopuli.xyz
      link
      fedilink
      arrow-up
      20
      ·
      11 hours ago

      It is hard when you mix them in one codebase and need bindings and wrappers for interoperability. This always introduces additional work and maintenance burden. It’s always a tradeoff and for most projects not worth the effort. Tech corporations that do this regularly have dedicated teams to deal with boilerplate bullshit and tooling issues, so that regular devs can just code with minimal friction. Rust-in-Linux community decided to take it upon themselves, but I’m not sure if they can keep it up for years and decades in the future.

      Though gradually getting of C is still a good idea. Millions of lines of C code is a nightmare codebase.

      • burgersc12
        link
        fedilink
        English
        arrow-up
        13
        ·
        11 hours ago

        Yeah, even Linus said he wasn’t 100% sure it was gonna succeed but how else do you know unless you try it.

        • corsicanguppy@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          10 hours ago

          how else do you know unless you try it.

          Spoken in a true ‘testing in prod’ way. What does “okay it’s not going to work” look like, other than 69-31% codebase where no one maintains the 31%?

    • henfredemars@infosec.pub
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      11 hours ago

      I’d even have sympathy for this argument that introducing another language is a major undertaking (and it is!) but Linux is already full of lots of other languages (Macros, Makefile, Shell, BPF, assembly languages, Perl, Python scripts…) and developers are willing to do the work to use a language that helps solve problems Linux cares about.

      • deadcream@sopuli.xyz
        link
        fedilink
        arrow-up
        16
        ·
        11 hours ago

        That’s not a good argument. Most of these additional languages are used for separate things, like build scripts and stuff. They don’t affect actual kernel code which is C and assembler language.