From: Chris Lattner Date: Mon, 10 Dec 2007 01:44:24 +0000 (+0000) Subject: Add a "comparing clang to other compilers" page, to help resolve some FAQ's. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8310967dd0c751b7c1b58f69dae3f66e60960054;p=clang Add a "comparing clang to other compilers" page, to help resolve some FAQ's. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44754 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/www/comparison.html b/www/comparison.html new file mode 100644 index 0000000000..973e9758fc --- /dev/null +++ b/www/comparison.html @@ -0,0 +1,153 @@ + + + + + + Comparing clang to other compilers + + + + + +
+

Clang vs Other Compilers

+ +

Building an entirely new compiler front-end is a big task, and it isn't + always clear to people why we decided to do this. Here we compare clang + and its goals to other open source compiler front-ends that are + available. We restrict the discussion to very specific technical points + to avoid controversy where possible. Also, software is infinitely + mutable, so we avoid mentioning anything that would be easy to fix.

+ +

The goal of this list is to describe how differences in goals lead to + different strengths and weaknesses, not to make some compiler look bad. + This will hopefully help you to evaluate whether using clang is a good + idea for your specific goals.

+ +

Please email cfe-dev if you think we should add another compiler to this + list or if you think some characterization is unfair here.

+ + +

Clang vs GCC (GNU Compiler Collection)

+ + +

Pros of GCC vs clang:

+ + + +

Cons of GCC vs clang:

+ + + + +

Clang vs Elsa (Elkhound-based C++ Parser)

+ + +

Pros of Elsa vs clang:

+ + + +

Cons of Elsa vs clang:

+ + + + + +

Clang vs PCC (Portable C Compiler)

+ + +

Pros of PCC vs clang:

+ + + +

Cons of PCC vs clang:

+ +
+ +