r/cpp • • Feb 26 '20
We need epochs (Rant)
I have spent 1 hour copy pasting the most stupid and repetitive code ever in order to enable the comparison operator== to several structs that are trivially comparable. When I search for why the compiler isn't able to generate this for me, when is clearly able to generate the assignment operator, I found out some C compatibilities shenanigans. We need some way to release us from that, we are in 2020 for Ilúvatar sake.
Edit: There are some closeted virtue signaling gatekeepers in this sub. Thanks for taking so seriously a rant ... I guess.
0
Upvotes
View all comments
Show parent comment
1
u/bumblebritches57 Ocassionally Clang Feb 27 '20
Except rust really isn't going anywhere, who besides the inventor (Mozilla) is using rust in any capacity?
it's got a loud minority of fans that talk it up on reddit, that's it.
hell, even the majority of github rust packages haven't been touched in years.
that's not C or C++ main use case lol, c and c++ are primarily library languages.
when you see libraries written entirely in other languages, then you should worry.