Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does VisualC++ take advantage of my SMP machine to compile faster?

0
Posted

Does VisualC++ take advantage of my SMP machine to compile faster?

0

In short: no. The Microsoft C/C++ compiler is not optimized for multiprocessor machines, nor does DevStudio or NMAKE take advantage of them by performing parallel builds. Also, the compiler itself is not [currently] multithreaded, as the compiling process is basically a sequential process. However, you might see some overall performance improvements on an SMP machine. On the other hand, the compiler is pretty optimized for single-processor machines, which are the most common ones. For example, the compiler can accept multiple filenames on the command line and process them one-by one sequentially. This reduces system overhead, because there is only one compiler instance created for all files, instead of creating a process for each file.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123