Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Rust full-timer with a background in C/C++, lately using neither at all. That opinion isn't as unpopular as you'd think.


sort by: page size:

To each their own. I find Rust a huge step up from C and even C++...especially C++. I've been writing Rust for months and C++ for years. I still feel more comfortable and confident my Rust code has fewer bugs and does what I intend vs C++.

Your experience is highly incongruent with mine. I work with a lot of Rustaceans, and while they're often able to articulate why they prefer Rust over C++ for many applications, many of them would probably be reaching for C++ if not for Rust, and certainly don't spend time hating on the language. Speaking personally as a Rust fanatic, C++ is still my 3rd favorite language. (Out of a large N.)

I guess my point is, this is a weird (and IMO, flat-out wrong) dig at the Rust community.


I don't agree with you that C++ is superior to Rust

Rust is significantly better than C++. And I say that as somebody who has done many years of C++ development.

I'm not interested in debating which language is easier to learn for C++ programmers. I'm pushing back against the (clearly false, IMO) idea that adopting Rust is a mistake.

I would argue that Rust is for people who like C/C++ but don’t like the eons of cruft that have built up over the years to use it effectively.

I'm not sure about that. I've spent 18 years programming in C++, for much of that time in a senior professional capacity and am excited to learn Rust for whatever my next project will be. Most of my colleagues and peers feel the same. I think the person you are characterising is quite rare. I like C++ but don't love all of the baggage and am delighted that things are moving forward.

Interesting. In my experience, seasoned C++ programmers grasp the advantages of Rust very quickly. Not all of them are convinced that the advantages outweigh the practical problems, but they don't deny the existence of the advantages.

I would have said C is firmly a Blub, though.


Personally I find C++ more fun to use than Rust, even though I use Rust as part of my day job. I'd genuinely love to find a full-time C++ gig and spend the rest of my career focused on that single language. There are tons of flaws with the language, sure, but they're documented and known flaws. And best practices to get around them. This really appeals to me.

I wasn't saying either C++ or Rust are better or worse, just saying that Rust is not C++ done well which I think it is a very exaggerated claim.

I have used both Rust and C++ professionally (Rust for nearly four years now) and the advantages of Rust over C++ are still absolutely clear. I’m not a Rust fanboy (I think it’s great in some ways and bad in others) but comparing it to the monstrosity that is C++ is simply wrong.

Interesting to see Rust beat out C++ very slightly.

I like rust. What I don't like is people who pretend that unsafe rust is any better than C++ or C.

I wouldn't discount Rust, I'm finding it incredibly refreshing after spending most of my career in C++.

It’s interesting that to criticize rust without being downvoted to death, one must first say how wonderful and superior to c++ it is.

I've used both professionally (Rust for the last 4 years) and I 100% agree. Rust, even with stuff like async, is a much, much, much simpler language than C++.

As C++ developers, though, we are a biased bunch. C++ takes years to properly learn and gain confidence with, something we're completely oblivious to since that learning curve is in the past. I concede that for people who don't already know C++, Rust may be a good choice.

Hmm, I've used both Rust and C++ professionally (and prefer Rust). But it's fair that most positive or negative things about programming languages are from people who haven't used them professionally.

Rust isn't actually that complicated and more importantly, most of it makes sense. I don't feel the same way about C++.
next

Legal | privacy