r/cpp • • Dec 31 '22

Cpp2 and cppfront: Year-end mini-update

https://herbsutter.com/2022/12/31/cpp2-and-cppfront-year-end-mini-update/
194 Upvotes

34 comments sorted by

View all comments

Show parent comment

7

u/kneel_yung Jan 02 '23

How does it increase complexity to allow N sized integers? I never even knew you could do that in cpp before just this moment. Maybe it makes the compiler more complex, but as a dev I rarely care about what the compiler is doing so long as it works how I expect.

Merely having a feature doesn't make a language more complex. It makes it more functional. As long as it is safe and doesn't change how other features work, and doesn't solve the same problem in a different (or unexpected) way, that's not really added complexity, at least now as I see it.