It depends. Heavy use of proc-macros makes it much slower than C++, and modern C++ features like reflection and modules speed up compile times compared to having to write strange recursive templated structs or classic #include
But that's the whole problem with "fixing" issues by adding new language features: you generally don't get to choose the state of the repository you work in, meaning that most professional C++ devs are working in legacy codebases that still use no-longer-recommended patterns.
Yeah, but in exchange code from the 1990’s still works the same today. It’s the same problem that Rust will someday face, and that plagues any language like Java, C#, or C
(To be fair, I did use vim up until neovim became usable enough to switch.)
(Also, in practice, I've observed that 1990s code generally stays on 1990s compilers, despite the ISO group's best efforts at backwards compatibility. And, to be fair, there have been breaking changes in the spec.)
View all comments
3
u/[deleted] Oct 24 '26
[removed] — view removed comment