Hacker News new | ask | show | jobs
by lambda_dn 1572 days ago
With the latest C++ features (lambdas, co routines, smart pointers) it seems Rust is a gratuitous effort to solve a problem that is already solved.

Seriously look at modern C++ it is very easy to develop high performance software in a modern language.

2 comments

I've used both very extensively and while I like the direction c++ is headed, I know a lot of people don't, I couldn't disagree with you more. Writing reasonably fast rust that doesn't crash is far easier than writing any kind of c++ that doesn't crash. Copies are a real problem in rust though, they are definitely difficult to avoid without jumping through hoops sometimes but I haven't hit any yet that are a real world show stopper with good upfront design and architecture. C++ just has too much baggage and footguns to make it truly productive on larger teams osit
> Seriously look at modern C++ it is very easy to develop high performance software in a modern language.

I'm a full time c++ developer that does Rust as a hobby, and I'm asking myself if we are talking about the same language. C++ is a clusterfuck of obscure features, 1 million different build systems and hacks upon hacks for even simple things like include guards, forward declaration of classes to not completely kill your build times and _many_ more daily struggles that are simply none existent in Rust.