News for hackers. Stuff that matters.
Re:Current hardware trends make C++ exceptions harder to jus... by pjmlp on Wednesday February 23, 2022 @04:45AM (#30439426)
> It is also adding concepts, a major change in the way templates are to be written.

Indeed, instead of crazy tricks with SFINAE and tag dispatch, templates can be much easily written.

Re:Current hardware trends make C++ exceptions harder to jus... by dureuill on Wednesday February 23, 2022 @07:21AM (#30440264)
That's probably correct, I did not use concepts at the moment (stuck in C++14 right now). I certainly have my beefs with both features (modules that are orthogonal to namespace, no standard way to find modules, new and exciting ways of committing ODR violations, generally a complicated module system with quirks when there is so much prior art on modules in other languages, concepts being structural and not nominal, concepts being a "lower bound" on behavior and not an "upper bound" (thus not eliminating duck typing)), but my larger point is the scope of these changes to the language, not their (purported) benefit that I'm by and large unable to assess right now.
Re:Current hardware trends make C++ exceptions harder to jus... by pjmlp on Wednesday February 23, 2022 @08:03AM (#30440504)
Modules are mostly working on VC++, no quirks needed. In fact, I only use modules for my hobby coding now.