• m_f@midwest.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 hours ago

      C is definitely still king, but I wonder if crABI will eventually be able to dethrone it:

      https://github.com/rust-lang/rust/issues/111423

      If they can define a useful ABI that manages to include lifetimes, that might just be enough of an improvement to get people to switch over from assuming the C ABI everywhere.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        The problem is that both Rust and Go are huge. The compiled binaries are bigger and the compilers themselves and slower and more resource intensive. The current benefit to C is that is lean and compiles quickly.