Rust vs Go in 2023

Which is better, Rust or Go? Go or Rust? Which language should you choose for your next project in 2023, and why? How do the two compare in areas like performance, simplicity, safety, features, scale, and concurrency? What do they have in common, and where do they fundamentally differ? Let’s find out, in this friendly and even-handed comparison of Rust and Golang.

  • somegeek@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    my somewhat controversial opinion:

    Never use a language that is controlled by a big enterprise. Look at Java, look at C#, yes they are strong and the market for them is usually good, but they are absolutely not fun to work with. You have to just stay in their ecosystem and you’re forced to use their tooling, and their stupid decisions. For example try to develop a .NET app on linux. Or do almost anything with Java. It’s a huge pain in the ass.

    So I would never get too serious with Go. But rust is like C, and JS, although it has flaws, it’s much more fun to work with, and its not controlled by anyone, and will be here for a couple of decades atleast.

  • echindod@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    My next project is dealing the RDF. I really wanted to use Go for this, but there aren’t any fully features RDF libraries for Go. Rust has a few pretty mature RDF libraries, so Rust it is.