@wallhackio I just noticed that your profile says "top-ranked c++ hater", so give me more reasons to hate C++ :blobcatreach:

Follow

@vaporeon_ Peter Seibel, the author of a 2009 book called "Coders at Work: Reflections on the Craft of Programming," has a blog (web.archive.org/web/2017111006) where shared some comments from people he interviewed for the book. I cannot express my feelings on C++ better than Ken Thompson did from that blog post:

"It’s way too big, way too complex. And it’s obviously built by a committee.

Stroustrup campaigned for years and years and years, way beyond any sort of technical contributions he made to the language, to get it adopted and used. And he sort of ran all the standards committees with a whip and a chair. And he said “no” to no one. He put every feature in that language that ever existed. It wasn’t cleanly designed—it was just the union of everything that came along. And I think it suffered drastically from that."

@vaporeon_ In 1994, Bjarne Stroustrup wrote "Within C++ is a smaller, simpler, safer language struggling to get out." (The Design and Evolution of C++). In a talk from 2015 at CppCon (youtube.com/watch?v=1OEu9C51K2) he repeats the quote, and then later says

"Let's get it out. Let's get it out, now. A lot of people's solution to getting thing better and safer is to invent a new language. But that's not now. If you invent a really good new language now, a large number of people will be able to use it in ten years, if you succeed. The success rate for new languages is basically--for general purpose languages--is basically zero, so let's do it now.

...I think we can do it. And I think we can do it, I know that I can't do it alone... And no single company can... so please help."

I agree with Stroustrup that there is a good subset of C++. I also agree with Stroupstrup that teaching this subset is an inordinately difficult task that will require unprecedented coordination from the programming community at large. Where I disagree with Stroustrup is that it is worth the effort. I wish the work done used to develop C++11 and promote effective "modern" C++ was instead focused on creating a successor language.

Funnily enough, the first stable release of Rust was published in May 2015, just a few months before Bjarne gave the talk previously quoted. Now, in February 2025, he released public statement claiming that C++ is "under attack" (open-std.org/jtc1/sc22/wg21/do). This paper mentions Rust (not by name, but by implication). Rust is the rare new and successful language, and 10 years after it was introduced it is actually being used just like he said a successful, new language would (about 11% of professional programmers in the 2024 StackExchange survey purport to use Rust, compared to the approximately 20% who purport to use C++).

@vaporeon_ Lol. I don't mean to praise rust. I have no strong opinions on Rust, I have nowhere near enough familiarity say whether i like it or dislike (I regret to inform you that my gut reaction, from what I've seen, is that I would like it a lot. But we'll see.)

I just wanted to point out how interesting that Bjarne chose to focus on C++ in "the now", and now feels pressure from a viable competitor in the 2025 present.

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.