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

Ok. I'm not sure what they consider modern in the c++ world


sort by: page size:

I really wouldn't call it modern, unless you consider C++ modern.

What constitutes "Modern C++"?

It's not modern, it's C++98.

Modern probably refers to the use of recent c++ standards. (In typical jargon this is termed "modern c++")

What about modern C++?

C++ is modern.

"Modern C++" is outdated nowadays. Just look at the C++ code published by Google.

It would truly be absurd to claim that C++ is a modern language. A subset of C++ however, is modern. This does not include the toolchain and standard build practices.

“Modern C++” is a phrase to refer to newer C++ versions. In this case, it’s C++20.

These days, you want Effective Modern C++. It's a lot newer and goes over recent features.

“Modern C++” is a term that’s over a decade old; it was first used to describe improvements brought in C++11.

That said from an outsider perspective it seems that there’s no clear universal definition. Which is totally fine! It’s just more of a vibes-based term than a strict one.


Aiming at C++11 is not a reasonable definition of "modern", as it was C++'s second ISO standard that was published a decade ago and which has since seen between two and three major updates (depending on the opinions on c++14)

OTOH, 'Modern C++' does not have much in common with Real World C++.

The term "Modern C++" refers to the fact that most of the C++ industry still depends on or develops C++98/03 code. Is "Modern" compared to that, and the term is used to refer to state of the art C++ instead of old C++98.

The problem with modern C++ is that there are several meanings of modern, and lots of classical libraries that aren't being rewritten.

Is there some authoritative source for what is considered modern C++ and what is old? Most projects I've seen use a wide mix of C++ features of varying age. If you use some C++23 futures it would not make it modern if you still use C++98 features you not supposed to use.

Honest question: given you're saying this, do you know modern C++ in the first place? In other words, are you speaking with knowledge? Or without?

Modern C++ is an almost entirely different language from the C++ back then.

I would like to know which features are actually modern?

Close to none of course, but that isn't the point AFAIK.

The point is all of them have now been added, hence the 'modern' connotation, and another part of the point is that C++ now even more is a language rather flawlessly combining all those paradigms.

next

Legal | privacy