<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Parallel compilation from the command line</title>
	<link>https://codesynthesis.com/~boris/blog//2009/03/29/parallel-compilation-command-line/</link>
	<description>Boris Kolpackov's blog about software</description>
	<pubDate>Tue, 07 Apr 2026 16:58:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Boris Kolpackov</title>
		<link>https://codesynthesis.com/~boris/blog//2009/03/29/parallel-compilation-command-line/#comment-641</link>
		<author>Boris Kolpackov</author>
		<pubDate>Sun, 19 Apr 2009 07:45:34 +0000</pubDate>
		<guid>https://codesynthesis.com/~boris/blog//2009/03/29/parallel-compilation-command-line/#comment-641</guid>
		<description>There are two things that can be done in the compiler. The first is to make the compiler compile several translation units (i.e., input files) in parallel. This could be fairly easy to implement but it will amount to pretty much the same thing as what's already possible with GNU make. This is probably the reason it hasn't been done in GCC.

The second is to make the compiler compile a single translation union in parallel, Now that will be very useful but I don't think it is easily achievable. The C/C++ compilation process is inherently  sequential and it is not clear how to parallelize it. Perhaps the optimization part can be done in parallel. That is, have multiple threads work on various parts of the (intermediate) code.</description>
		<content:encoded><![CDATA[<p>There are two things that can be done in the compiler. The first is to make the compiler compile several translation units (i.e., input files) in parallel. This could be fairly easy to implement but it will amount to pretty much the same thing as what&#8217;s already possible with GNU make. This is probably the reason it hasn&#8217;t been done in GCC.</p>
<p>The second is to make the compiler compile a single translation union in parallel, Now that will be very useful but I don&#8217;t think it is easily achievable. The C/C++ compilation process is inherently  sequential and it is not clear how to parallelize it. Perhaps the optimization part can be done in parallel. That is, have multiple threads work on various parts of the (intermediate) code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nadav Rotem</title>
		<link>https://codesynthesis.com/~boris/blog//2009/03/29/parallel-compilation-command-line/#comment-640</link>
		<author>Nadav Rotem</author>
		<pubDate>Sat, 18 Apr 2009 11:07:56 +0000</pubDate>
		<guid>https://codesynthesis.com/~boris/blog//2009/03/29/parallel-compilation-command-line/#comment-640</guid>
		<description>The real solution would be to add parallel parsing/compiling support to GCC. I don't see a reason why this can't be done, except for the huge pile of legacy code. I think that the LLVM guys are working on implementing parallel compilation to separate modules.</description>
		<content:encoded><![CDATA[<p>The real solution would be to add parallel parsing/compiling support to GCC. I don&#8217;t see a reason why this can&#8217;t be done, except for the huge pile of legacy code. I think that the LLVM guys are working on implementing parallel compilation to separate modules.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
