Zig vs Rust. Which one is going to be future?

I think about pros and cons and what to choose for the second (modern) language in addition to C.

@programming@programming.dev

  • dudinax@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Rust. It’s a qualitative improvement over the old ways.

    The future won’t belong to Rust itself, but one of its descendants. Rust is too clunky to be the ultimate expression of its best ideas.

    • xigoi@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      edit-2
      2 months ago

      What does Rust improve over its predecessors? The only really new thing is the borrow checker, which is only useful in very low-level programming.

  • asudox@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    Google has already started to use Rust in their android operating system. Linux started getting Rust stuff. Rust has the speed of C/C++ while having memory safety. Zig does not have the same memory safety as Rust, it’s a mere C/C++ alternative. Does that answer your question?