Oh no, not another ‘Is Rust better than Go?’ article. Seriously, haven’t we all had our fill of these comparisons by now? But before you sigh in exasperation, hear us out!

You are viewing a single thread.
View all comments View context
3 points

This isn’t really true though. Rust has integrated versioning and it cordons things off between editions. If you’re within the same edition, you get updates without breaking changes. Even if you aren’t in the same edition, you can grab specific compiler versions. Granted, in these circumstances you won’t get security updates, but you have to be very out of date for that to be a problem.

I wrote an app using brand new Rust features for work 2 years ago. Despite upgrading the compiler version several times, I never needed to make a single code change. It is still being used daily as well.

permalink
report
parent
reply
2 points

You don’t even need an old compiler to compile an old edition! That’s part of the brilliance of the edition mechanism. An up-to-date compiler must be able to compile code from all editions; it can then statically link libraries from multiple different editions together.

permalink
report
parent
reply

Golang

!golang@programming.dev

Create post

This is a community dedicated to the go programming language.

Useful Links:

Rules:

  • Posts must be relevant to Go
  • No NSFW content
  • No hate speech, bigotry, etc
  • Try to keep discussions on topic
  • No spam of tools/companies/advertisements
  • It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Community stats

  • 1

    Monthly active users

  • 85

    Posts

  • 46

    Comments