Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Landing async/await will be a watershed. Fast, safe, low resource communications applications implemented in Rust will proliferate.


Or maybe it's just a fad. There have been far more failed IO paradigms than watersheds...

I mean, I like it too, but the point upthread is that you can't just suck in every nice-looking idea or you'll end up like C++.


How is adding async await will make Rust into C++ ? Would people actually name the features that should not be in? Outside of ownership and borrowing have Rust added any features that are not mainstream and well proven in other languages?


How did adding exceptions to the language make C++ into C++? RTTI? Multiple virtual inheritance? Default member function generation?

They didn't, not individually. They were popular and uncontroversial (rather less controversial than promise apis, even). And yet...

The point is that Rust seems to be charging blindly down the same road, not that any one feature is going to blow it all up. Frankly IMHO Rust is already harder to learn for a median programmer than C++ is, even if it makes more aesthetic sense to an expert.


I think there is fairly large difference between learning and being able to write production ready code. It's hard to imagine a person for whom Rust is hard to learn and who can write safe threaded code in C++ for example.


Hundreds of thousands of engineers are writing "production ready" C++ code every day. Your point seems trivially falsifiable, unless you want to turn it into a no-true-scotsman situation and explain how what they're "really" writing isn't "C++" or whatever.

I'm not saying Rust is bad. I'm saying it's... becoming senselessly complicated. And that in 20 years when 60% of its amazing new features turn out to be just fashion (because they happens to everything), Rust will be "ugly" then in basically the same way that C++ is now, and we'll all be chasing some other new hotness.


1) You omitted threaded

2) I seriously doubt you or I have good stats on how many people who are writing production ready C++ would consider Rust hard.


> 1) You omitted threaded

To Edinburgh we go, then.


It's absolutely essential. A sine qua non for a serious new language.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: