Skip to content

Comment on The limits of Rust, or why you should probably not follow Amazon and Cloudflareparent

Comments

The annoying thing about Rust, or at least the hype around Rust, is that people want to in use it for bloody everything.

We have absolutely no need for it at work. We're writing micro services that run in K8s with no extreme performance requirements. Nobody on the team knows the language (I know it better than the people arguing for it, and I don't know more then the basics). And yet, every couple of weeks, I'm having to talk someone out of switching certain services over to it. It's like a damn disease.

Because the attraction of rust is powerful. The same toolkit allows you to write code for a microcontroller or a full fat arm webserver, the rules are the same and the language is strong.

The best bit about writing rust is the reason why it kinda sucks for corporations. You can "finish" your code

Fair points, but this glosses over some of the not-great parts. Cargo isn't great. No sanctioned formal spec isn't great. Compilation times aren't great. Messing around with wrapping foreign types can be a bit of a bear sometimes.

It's a fine language, just like all the others. I'd rather write a web server in Go and a use C when targeting a micro-controller.

Almost reminds me of a quote I heard about python a long time ago: python is the second-best language for everything, and the "first-best" for nothing.

Sure, and that's probably because you are good with both Go and C. for me, I use rust as the hammer, and everything is a nail. Hobbyist vs Employee I guess

No, it’s for the reason you said. Not everything is a nail.

Thank you for so aptly demonstrating what I deal with at work.

also some of those people probably wanna put "used rust at work" on their resume

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.