• communism@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    I would say Rust is more similar to java and Zig is more similar to C in that manner

    You’re gonna have to elaborate on that… How so?

    • Alavi@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      6 hours ago

      I think I did! Rust has lots of corporate and political backing from big companies and political/security firms (FBI, pentagon etc) and zig is more free and has less governance and backing, less politics involved.

      • asdfasdfasdf@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        5 hours ago

        Those companies and firms back Rust because it’s memory safe without a garbage collector, and great for general purpose programming or systems programming. That’s super important for everyone, but especially large companies working on high performance or mission critical software.

        Zig is not memory safe so it’s a non-starter for these things, and has not proven itself in the industry anywhere near what Rust has.

        This has nothing to do with Rust being “corporate” or anything wrong with Rust.