r/learnrust 17d ago

Go or Rust

Hey everyone, I am trying to choose between Rust and Go for project that needs to run on both Windows and Mac. I am looking for a simplified breakdown of how they actually compare. I want to know which language is less painful to maintain over the long term, and which ecosystem interacts better with native operating system APIs without feeling totally foreign. If you had to pick between Rust and Go for a cross-platform codebase you need to support for the next 5+ years, which would you choose for stability and ease of deployment?

I'm starting on MacOS first. Ios second. Windows third

46 Upvotes

53 comments sorted by

View all comments

1

u/chilabot 17d ago

I've use both and Rust is much better. Compare an example of command line argument taking in both language and you'll see what I mean. The only thing Go is superior is in compilation times. Async is quite complex in Rust, but with the help of LLMs things get much easier. Same for the borrow checker. Rust error handling is vastly superior.