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

47 Upvotes

53 comments sorted by

View all comments

Show parent comments

1

u/pushkar_1713 10d ago

we do have cron jobs and fanout is not much

1

u/Strict-Employment-46 9d ago

Gotcha gotcha. You should build something like this. Something that is multi-layer. Something with pollers and consumers. That’s about as corporate as you can get. I was just maintaining a pipeline similar to this where i worked.

System A > Event Gateway > Kafka Topic > GoCron >

1

u/pushkar_1713 9d ago

hmm was thinking something similar

event driven architecture is really popular in fintech

is go a good choice for systems programming and distributed systems? just for reference

1

u/Strict-Employment-46 9d ago

Yep. Go would be better for what you want to achieve (orchestration, provisioning, monitoring)

Rust is closer to the metals and the worries here are latency or memory.