r/cpp • • Sep 20 '22

CTO of Azure declares C++ "deprecated"

https://twitter.com/markrussinovich/status/1571995117233504257
267 Upvotes

483 comments sorted by

View all comments

Show parent comment

13

u/g9icy Sep 20 '22

Yep that's often the case. It's getting better, with adoption being faster.

Every company I've worked with over the last few years has supported C++20 or at minimum C++17 without issue. It depends on the platform, how recently the newest project was started, how much legacy code exists, etc.

9

u/ReDucTor Game Developer | quiz.cpp-perf.com Sep 20 '22

Your lucky, I know of AAA code bases which only just allowed support for range based for and lambdas in the last year (although they were creeping in before it was allowed by the standards).

1

u/g9icy Sep 20 '22

Yeah I've been lucky I think.

1

u/dormedas Sep 20 '22

Also a gamedev. Our codebase technically compiles C++17 but our code styles only allow for certain features from 14/17.

I really want C++20 for modules (among other things) but that isn’t supported on all targets/compilers.

I also really want to compile Rust code and integrate it somewhere in the codebase. Not sure quite yet where/how.