I’m starting to believe that one of the reasons why Rust is perceived to compile more slowly than C++ is that Rust *forces* use of “modern C++” idioms everywhere, while industrial C++ tends to be more C-like than C++ fans want to admit.
-
-
Elaborate? Modern C++ takes more time to compile?
-
It does, because there tend to be a lot of short methods that require inlining. Also smart pointers, etc require SROA optimizations.
End of conversation
New conversation -
-
-
Sorry, I'm confused: if modern C++ causes slowdowns, why does removing legacy stuff help?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.