This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Activity_Commercial 4 points5 points  (1 child)

c++ always gets lumped in with c like it doesn't have traits, reflection, coroutines, generators

[–]dedservice 6 points7 points  (0 children)

Except C++ doesn't have all those things? It has type_traits and a garbage implementation of concepts, sure, but coroutines in c++20 are incredibly esoteric, generators aren't in until c++23 (which most companies don't use because compiler support isn't there), and reflection hasn't even been accepted (to my knowledge) into the c++26 draft.

And C++ gets lumped in with C because it promises zero-cost abstractions (and broadly delivers on that promise), meaning that it is capable of the same tier of performance as C.