Hacker News new | ask | show | jobs
by arcadialeak 27 days ago
Why does any mention of C++ nowadays turn into a Rust debate? These can coexist even in a single project via C ABI. Also, despite the vast syntax and semantic differences, an experienced dev will be able to apply most of their knowledge from one to the other.
3 comments

My fault for mentioning Rust (perhaps I did it because it’s vaguely amusing watching Rust maximalists flex).

Just to add to the bait, I find CPP libraries much more terse and functional, Rust libs tend towards over complexity and feature flexing.

It's because crowing about Rust is like sending dick pics. I suspect it's the same part of the brain responsible with the same neural pathways stimulated.
>"Why does any mention of C++ nowadays turn into a Rust debate?"

Because for most developers language is a religion rather than just a tool.

If a tool had been replaced by a better tool, wouldn't it be natural to discuss that?
First - the tool in question had not been replaced. Second -discussion based on merits is one thing. Holy war is something totally different.

Personally I do not consider Rust to be a better tool but it does not matter. Each one is free to drink their own poison. I do not get obsessed about screwdrivers and I have used many.

In many instances the tool has been replaced.
You have written a glib and low effort reply to anything that disagrees with your Rust-maximal worldview. The sheer immaturity of Rust devs is enough to put me off the language.
That's actually a common pattern and to me that's a bit off-putting as well.

I have seen examples where some opinion gets momentum and it's repeated over and over again on the Internet even though the merit is very questionable.

Haven't looked enough into Rust to form an opinion though.

I dont think so.

The problem is the sunk cost fallacy.

You mean there are still people left who do not want to rewrite everything in Rust?