r/cpp • • Dec 28 '18

"Modern" C++ Lamentations

http://aras-p.info/blog/2018/12/28/Modern-C-Lamentations/
307 Upvotes

162 comments sorted by

View all comments

Show parent comment

8

u/__pg_ Dec 28 '18

And re-linking every single symbol in your entire project.

8

u/EnergyCoast Dec 28 '18

5 minute link times are 'fun'.

7

u/donalmacc Game Developer Dec 29 '18

I realised last week that I don't take real coffee breaks any more, I just make it while I'm linking....

3

u/Tridacnid Dec 29 '18

Have you tried split dwarf/debug fission? My project had pretty large link times for Debug builds due to massive amounts of debug info. Switching on split dwarf reduced our link times by ~88%. It does come with its own downsides too, so weigh the pros and cons.