3 ms·
A good source of information for what is new in C++ versions: https://www.modernescpp.com/index.php/thebigfour https://www.modernescpp.com/index.php/thebigfour
by dasloop 6y ago
A good source of information for what is new in C++ versions: https://www.modernescpp.com/index.php/thebigfour https://www.modernescpp.com/index.php/thebigfour
That article covers the big four new features:
- concepts
- modules
- coroutines
- ranges library
- christophilus 6y agoWow. I haven’t touched C++ in maybe 18 years or so. This actually looks somewhat high level. It mentions that modules will improve compilation times. How are compilation times these days? That was one of my least favorite aspects of C++ back in the day.
- secondcoming 6y agoThey still allow for lots of sword fighting!
- pjmlp 6y agoVisual C++ point of view on the matter, https://devblogs.microsoft.com/cppblog/standard-c20-modules-support-with-msvc-in-visual-studio-2019-version-16-8/ https://devblogs.microsoft.com/cppblog/standard-c20-modules-... https://devblogs.microsoft.com/cppblog/introducing-vcperf-timetrace-for-cpp-build-time-analysis/ https://devblogs.microsoft.com/cppblog/introducing-vcperf-ti... https://devblogs.microsoft.com/cppblog/improving-code-generation-time-with-cpp-build-insights/ https://devblogs.microsoft.com/cppblog/improving-code-genera... https://devblogs.microsoft.com/cppblog/profiling-template-metaprograms-with-cpp-build-insights/ https://devblogs.microsoft.com/cppblog/profiling-template-me... https://devblogs.microsoft.com/cppblog/faster-builds-with-pch-suggestions-from-c-build-insights/ https://devblogs.microsoft.com/cppblog/faster-builds-with-pc... In general, I tend to wait less for my C++ builds than Rust ones.
- TinkersW 6y agoC++ compilers keep improving and compile times have gotten noticeably quicker for me, especially the linker step which used to take forever. It is possible to have a fast C++ build, but it still requires diligence, ie avoiding including massive headers everywhere & using lots of forward declarations etc. Many code bases don't do this so they end up with ~forever builds.