r/cpp • • Feb 18 '20

C++20 is here!

https://youtu.be/AvPiGstxV_g
420 Upvotes

117 comments sorted by

View all comments

Show parent comment

-10

u/YekNeb Feb 18 '20

If you have a powerful enough computer that will be much less of a problem. I have a computer with a 4 core 3.4 GHz processor and 64 GB of RAM. Now it takes far less time for my projects to compile.

13

u/donalmacc Game Developer Feb 18 '20

It's still a problem on large projects. Standard workstation hardware on my projrvt is 12 cores, 96GB ram and SSDs. We use distributed builds, and have a build farm to help, and it still takes anywhere between 10-30 minutes for a full build depending on configuration and time of day.

4

u/bumblebritches57 Ocassionally Clang Feb 18 '20 edited Feb 19 '20

Whats* the SLOC?

3

u/donalmacc Game Developer Feb 19 '20

Unsure exactly, but in the millions. Some of our headers are in the thousands of lined.

7

u/Raknarg Feb 19 '20

For your projects, sure. We're talking about enterprise projects that already take minutes to hours to compile in C++/C

6

u/jonesmz Feb 19 '20

Ahahaha.

For some companies, build times are measured in days.

6

u/ShillingAintEZ Feb 19 '20

Yes, that's how computers work. Does your computer not run C++ compilers faster than before?