Live data from Hacker News

Why AWS loves Rust, and how we’d like to help

aws.amazon.com

151–160 of 338 posts

Re: Why AWS loves Rust, and how we’d like to help

#151
post #90

Earlier quoted context omitted.

Java is nowhere close losing the #1/2 spot in programming language, it's just everywhere.

I agree that Java is not going anywhere, but I could absolutely see a world where JavaScript and Python are number one and two.

After Excel

Re: Why AWS loves Rust, and how we’d like to help

#152
post #65

Earlier quoted context omitted.

> the browsers are all C++ You mean one is already shipping Rust and another seems to be on track to shipping it soon?

Chrome is "on track"? Last I remember they had a document explaining why it's not a good idea for them. I disagree with it, and would very much wish for Chrome to ship Rust, but they don't seem to be interested for now.

They're referring to this[0] I believe, which is not glowing, but does seem mildly optimistic. Specifically:

> For now, Chrome investment in Rust will remain a background investigation (mostly directed towards prototyping these tools and techniques). If we become convinced this sort of interoperability is possible, we’ll revisit widespread use of Rust in Chrome

[0]: https://www.chromium.org/Home/chromium-security/memory-safet...

Re: Why AWS loves Rust, and how we’d like to help

#153

Earlier quoted context omitted.

Friends of mine that are contract programmers have been ramping on Rust for the past 2-3 years claiming the number of requests for it has been increasing exponentially. I installed it two weeks ago and have been getting a feel for it. It's like if C++, C#, and npm had an offspring. I always hoped Java would make a comeback, but Rust is looking like the real deal.

Applications of Java and Rust do not overlap. As a big data engineer, Rust does not provide any advantage to me. Good luck rewritting all the big data tools from Java (Elasticsearch, Spark, Kafka, Hadoop, Neo4j, Deeplearning4j, Cassandra, Solr, Arrow, OrientDB) and all the scientific stuff from C++ (Eigen, Tensorflow, PyTorch, Jax, Halide, OpenCV and the multitude of resources for CUDA and OpenCL) and databases (MySQ…

> As a big data engineer, Rust does not provide any advantage to me. Good luck rewritting all the big data tools from Java (Elasticsearch, Spark, Kafka, Hadoop, Neo4j, Deeplearning4j, Cassandra, Solr, Arrow, OrientDB)

Yep, this is true. Java has an upper hand in data engineering. There are better languages for targeting the Java libraries and JVM than Java itself. I always use Clojure instead of Java when doing data crunching because it is much easier to create parallel programs with it. Kotlin is also coming up in this space.

Having said that. I like Rust for some reasons:

- targeting multiple libc (musl, no libc at all)

- targeting multiple platforms (ppc, mips, etc., even though some of those are tierN)

- having ML features

Why I do not like Rust:

- accidental complexity and convoluted syntax (maybe it is only me, but it is very hard to follow what is happening)

For me the ideal language would be something like F# with the good parts of Rust.

Re: Why AWS loves Rust, and how we’d like to help

#154
post #146

Earlier quoted context omitted.

Not really, they went and fired all their core Rust people.

Those core Rust people could form such a consultancy. They have a ripe market of people willing to part with their cash for it.

Bird in the hand is worth 2 in the bush.

I agree the rust core folk could have done that and probably made a pretty penny. The issue is setting up a new consultancy business is more complex and inherently more risky than just taking a cushy job from the companies that will pay handsomely for their talents.

Re: Why AWS loves Rust, and how we’d like to help

#155
post #32

Having developed and launched a database (TerminusDB) built on a Rust core, this makes me slightly nervous. Feels like the evil empire will bring both great riches and great peril to the fantastic Rust community (part of the reason we picked Rust). Guaranteed sponsors for conferences, but also a certain malignant cynicism (am I being too harsh?). AWS will also aggressively compete for the best talent, which is tricky…

Yep, Rust is especially vulnerable to featureitis because it's already a big language. The more surface area, the more breeding ground for temptations for growing the language. And in its current users a survivorship bias for new feature appetite.

Re: Why AWS loves Rust, and how we’d like to help

#156

Earlier quoted context omitted.

I've basically had nothing but downvotes from the Rust community because any time I point something out about my thoughts on the language, I'm wrong and can't have those thoughts. Some one here in a separate thread said, "I don't understand your hate," and I'm like, what hate? It's a programming language. I don't hate it, I just don't yet find a reason to use it, but maybe I'm missing something really big. It's not r…

>I'm wrong and can't have those thoughts. There is a difference between facts and opinions, yah?

I'm not trying really hard to argue facts or even talking about performance numbers or anything of the sort. There are people who really, really love Rust, and I'd love to better understand how some developers arrived at their opinions of the software.

If there's a killer reason outside of memory safety and ownership, like compiler speed or something, I'd love to hear more about it from first hand accounts rather than someone's blog article about how great Rust is... and oh by the way we sell some product written in Rust, check it out! You know?

Re: Why AWS loves Rust, and how we’d like to help

#157

Earlier quoted context omitted.

Friends of mine that are contract programmers have been ramping on Rust for the past 2-3 years claiming the number of requests for it has been increasing exponentially. I installed it two weeks ago and have been getting a feel for it. It's like if C++, C#, and npm had an offspring. I always hoped Java would make a comeback, but Rust is looking like the real deal.

> I always hoped Java would make a comeback In order to make a comeback, Java first needs to fall from the TOP 3 languages used by professional programmers in the world. https://insights.stackoverflow.com/survey/2020#most-popular-...

In the same way Rust appears in ... (5,1% - 4.8% Professional Developers). The big players are looking for commercial long term safety about the used tools, platforms, programming languages and their ecosystems. After that, the technical discussion will take place.

Re: Why AWS loves Rust, and how we’d like to help

#158

Earlier quoted context omitted.

Friends of mine that are contract programmers have been ramping on Rust for the past 2-3 years claiming the number of requests for it has been increasing exponentially. I installed it two weeks ago and have been getting a feel for it. It's like if C++, C#, and npm had an offspring. I always hoped Java would make a comeback, but Rust is looking like the real deal.

> I always hoped Java would make a comeback In order to make a comeback, Java first needs to fall from the TOP 3 languages used by professional programmers in the world. https://insights.stackoverflow.com/survey/2020#most-popular-...

Exactly. Sometimes it takes more developers to maintain code than to initially implement it, which means technology choices today may lead to bigger popularity trends down the road.

Re: Why AWS loves Rust, and how we’d like to help

#159
post #83

I believe that's Amazon, Microsoft and Facebook all looking to get involved in core Rust development (I think partially triggered by the Mozilla layoffs). If anybody was still harbouring doubts about Rust's future, now is the time to lay them aside.

My questions are about the domains rust ends up getting traction in, not so much whether it will.

Always hard to know these things. It often doesn't follow what would be rational, but follows various accidents of history. Someone in domain X makes a superb library for it, inspiring ecosystem to grow in that domain, even if the language isn't fundamentally suited for it, etc.

Re: Why AWS loves Rust, and how we’d like to help

#160

Am I just not "with it?" I don't see the appeal of Rust, but it gets the hottest talk in HN-town. Maybe it's just because I haven't worked long enough with C or C++ to complain about them (only about a decade or so), but I don't have any issues with those languages. And I find it wholly unappealing to abandon the existing corpus of literal decades of knowledge having been poured into those language ecosystems all in…

One of the reasons it's so enchanting is how it manages memory without the use of a garbage collector thanks to the magic of lifetimes. Couple that with performance that's on par with C/C++ and design choices that encourage testing and documentation... there are a lot of technical reasons to love Rust. The welcoming community is another great reason, but I'll let community leaders speak to that point. In terms of how…

I definitely love the rustfmt thing. I think I recall gofmt existing as well?

I feel like C++ can get really out of hand, so not having a cppfmt is surely a thing of jealousy.

Post reply on HN