C++

Asked • 08/09/19

Why does C++ compilation take so long?

Compiling a C++ file takes a very long time when compared to C# and Java. It takes significantly longer to compile a C++ file than it would to run a normal size Python script. I'm currently using VC++ but it's the same with any compiler. Why is this? The two reasons I could think of were loading header files and running the preprocessor, but that doesn't seem like it should explain why it takes so long.

1 Expert Answer

By:

Kyle A. answered • 05/05/20

Tutor
New to Wyzant

Senior Software Engineer Specializing in Systems Programming

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.