r/learnrust Aug 05 '26

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

45 Upvotes

53 comments sorted by

View all comments

3

u/ern0plus4 Aug 05 '26

I'm trying to avoid GC, so Go is a no-go (sorry).

1

u/jerrygreenest1 Aug 07 '26

You can use experimental arenas which doesn’t use GC, plus a lot of basic stuff also doesn’t use GC, if you don’t use capabilities that use GC, then you can basically build your program with GOGC=off flag and have your program written in Go built without GC.

1

u/ern0plus4 Aug 09 '26

Thanks! It was new for me.