Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / November 2005

Tip: Looking for answers? Try searching our database.

multi-threaded compiles

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonathan Benedicto - 29 Nov 2005 16:52 GMT
Hello All,

Does VS 2003 or 2005 have the capability to do multi-threaded compiles ? In
other words, the compiler compiles several file at once, meaning that
dual-core / dual-chip machines compile much faster ?

Jonathan
Johan Nilsson - 30 Nov 2005 07:59 GMT
> Hello All,
>
> Does VS 2003 or 2005 have the capability to do multi-threaded compiles ?
> In other words, the compiler compiles several file at once, meaning that
> dual-core / dual-chip machines compile much faster ?

As for much faster, I wouldn't know, as it depends on a number of other
parameters as well (e.g. hard drive speed, available RAM).

As for capability: VS 2003 - no. VS 2005 - yes (in a somewhat limited way).
To be technically correct though, the compiler (CL) isn't capable of
compiling several files at once, the development environment instead spawns
several instances of the compiler.

It is possible to setup the maximum number of parallel builds in VS 2005
(default to number of logical(?) execution units AFAIK), but files in the
same project are never compiled in parallel. It looks like each project is
assigned an id during compilation, and that only files in different projects
are compiled in parallel, unfortunately.

There are other build tools out there that support "full" parallel builds
using the VC compilers, e.g. Boost.Build (-j<parallel compiles> option).

HTH // Johan
Jonathan Benedicto - 30 Nov 2005 08:13 GMT
> As for capability: VS 2003 - no. VS 2005 - yes (in a somewhat limited
> way). To be technically correct though, the compiler (CL) isn't
[quoted text clipped - 6 lines]
> like each project is assigned an id during compilation, and that only
> files in different projects are compiled in parallel, unfortunately.

Thank you for this info.

Jonathan

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.