15 votes

Zig 0.6.0 has been released

7 comments

  1. [3]
    sqew
    Link
    May have to check out Zig soon. I'm currently pretty much a Python-only programmer (although I've been learning C++ in class), and I'd really like to add a modern systems language to my...

    May have to check out Zig soon. I'm currently pretty much a Python-only programmer (although I've been learning C++ in class), and I'd really like to add a modern systems language to my repertoire. My plan was Rust but Zig might be a good one to look at.

    3 votes
    1. [2]
      pvik
      Link Parent
      It depends on what your goal is with learning the new language. Zig is a language you will be able to carry over most of your knowledge from Python and C++. However it is mostly not going to...

      It depends on what your goal is with learning the new language.

      Zig is a language you will be able to carry over most of your knowledge from Python and C++. However it is mostly not going to expose you to new paradigms of programming. If you have a project in mind suited for Zig (say an embedded application), I think zig would be a great language to learn next)

      Haskell is a great language to force you to learn functional programming (cause you can;t cheat and use procedural constructs to solve a problem, like in Scala or OCaml, etc)

      Erlang is a great language to learn functional concepts and also learn Actor Model of concurrency. The prolog like syntax could also lead you down a rabbit-hole of prolog/datalog :)

      Rust is also a great language because of the novel way in which it handle memory. The borrow-checker in Rust has a steeper learning curve (than malloc/free, etc), but I think it again expands the way you think about memory allocations, etc. It is also generally a pleasure to work in rust with its great toolchain and library package system.

      Either way, learn as many languages as possible, inthe long run it will make you a better developer :)

      Edit: obligatory lisp mention. Check out languages like CommonLisp or scheme as well!

      7 votes
      1. sqew
        Link Parent
        Thank you so much for the recommendations! I have this perennial problem of starting projects and never finishing them, including learning new languages. Really hoping that being at home because...

        Thank you so much for the recommendations! I have this perennial problem of starting projects and never finishing them, including learning new languages. Really hoping that being at home because of COVID-19 will give me a chance to really put the time in to finish some projects up, and I'll definitely remember your advice here.

        2 votes
  2. [3]
    joelthelion
    Link
    Who's behind Zig? How does it compare to Rust?

    Who's behind Zig? How does it compare to Rust?

    1 vote
    1. unknown user
      Link Parent
      Probably one of those folks, more so than others.

      Who's behind Zig?

      Probably one of those folks, more so than others.

      1 vote
  3. meenit
    Link
    Hmm, looks super super interesting. I'll have to learn Zig sometime; C is one of my favorite languages.

    Hmm, looks super super interesting. I'll have to learn Zig sometime; C is one of my favorite languages.