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.
-
-
Replying to @pcwalton
Modern C++ (and it's impact on the exiting compiler toolchains) is one of the suspected reasons for the slowdown in Chromium/Blink cycle times. There's more to it than modernity. Removing the legacy stuff is a big win.
2 replies 3 retweets 18 likes -
Replying to @slightlylate @pcwalton
Elaborate? Modern C++ takes more time to compile?
1 reply 0 retweets 0 likes
Replying to @vivainio @slightlylate
It does, because there tend to be a lot of short methods that require inlining. Also smart pointers, etc require SROA optimizations.
2:49 PM - 30 Apr 2018
from South Beach, San Francisco
0 replies
0 retweets
10 likes
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.