ISO/IEC 14882:2020 C++ Standard Published
iso.org
iso.org
Yes there are competitors to C++, and we all love an underdog story, but I personally find it to be the only language with this level of expressiveness, without sacrificing complete control. You can write JS-style, with auto and other zero-runtime-cost abstractions, or you can write plain C with function overloading and templates.
C++20 is an incredibly exciting milestone, and I congratulate the standards commitee on every little milestone. Great work, guys!
Toolchain complexity, size and slowness are the only things that make me use python.
I think when modules mature, it can eventually reach Delphi/.NET like compile speeds.
Compiles times are not a problem if you use adequate tools. I have a codebase that heavily uses some large libs such as boost and Qt, here's a video of the edit-compile-run cycle:
compilation when editing a file takes one-two seconds (measured it at 101 frames in the video in this case, so a bit less than 2 seconds).
If anyone's wondering how it's done:
- Clang & lld instead of GCC & bfd/gold
- Ninja instead of Make (or anything else really)
- CMake target_precompile_headers
- Code split in dynamic libraries for dev builds
There aren't even advanced tricks such as incremental linking mentioned by other comments.
For a language like C, add the POSIX standards, which is like C's extended library.
Are you making the numbers up?
https://www.ecma-international.org/publications/standards/Ec...
If you compare only the language definition itself, C++ is actually shorter by a couple pages than C#: it ends at page 457 on the pdf: