Re:C++20: Building a Thread-Pool with Coroutines
by jerf on Saturday May 22, 2021 @11:00PM
(#27252075)
If things could be "consigned to history" by C++ adding more features, there'd hardly be any other languages left! It has all the features. That's its biggest problem.
[ Parent
| on HN ]
Re:C++20: Building a Thread-Pool with Coroutines
by logicchains on Sunday May 23, 2021 @03:03AM
(#27252978)
Noo, it's missing something basic: struct introspection. Unlike almost every other modern language, it's not possible to write a generic "ToJson" or "ToString" that will work for any struct.
Re:C++20: Building a Thread-Pool with Coroutines
by quietbritishjim on Sunday May 23, 2021 @04:27AM
(#27253307)
Not sure whether that's a sarcastic commentary or your just not aware, but C++ will, of course, also get (static) reflection
Re:C++20: Building a Thread-Pool with Coroutines
by pjmlp on Sunday May 23, 2021 @05:23AM
(#27253587)
Usually only C++ gets the blame, but that is only because most don't pay attention to other language's reference manuals and standard libraries.
I love to pick on Python for such examples, because it is considered to be the new BASIC, yet when I pick the standard language reference + standard library, the amount of pages outgrows those of ISO C++.
Then there is the list of breaking changes that have happened even across minor versions since Python 1.0.