Hacker News new | past | comments | ask | show | jobs | submit
That just adds to the incoherency.

It's why I've found Rust a joy - enough had happened in programming languages, that it was able to reinvent C++ with some of the best parts of the Haskell/ML/Scala family, some of the ergonomics of Python/nodejs, and bringing the borrow checker too.

C++ is this weird amalgam of like 7 different generations of languages.

But by far the worst part is the developer hostility behind the idea of UB. "Oh, this is not an error, it will compile, we will just secretly stab you in the back."

You can get good and avoid it, and there are tools to help you, but why is that at all a reasonable stance for the definition of a language?

{"deleted":true,"id":48417352,"parent":48414364,"time":1780689252,"type":"comment"}
Saying this about Rust and C++ is like saying the kitchen you just built is cleaner than the old kitchen you used for 50 years. Get back to me in another few years.
I agree for the comparison.

Now for Rust I don’t think it is going to change a lot. Because it is based on ML, it has the best foundations and all features are known. The question is more how much Haskell vs script/imperative do you want your language to be, and what’s the purpose of the language rather than we had the wrong paradigm and found a new better one. For Rust 99% of its features are known and most are already implemented.

Maybe things around the borrow checker, and await, but beyond that nothing as much as what C++ saw in its history. Even more when for instance you see the article from the guy doing Gleam where traits (impl) are not necessary, all you need is data and function to have the same functionality. Or how ML have been the main factor to most new languages or new features to existing languages.

The future is ML, with languages dedicated to specific use cases and niches. And also ML languages easily readable by AI.

Then I will feel the same about Rust! There's nothing wrong with wanting to throw out the janky accretion every 30 years for a redesign.

After 3-4 years, sure. But eventually enough has changed it's worth redoing.