GCC vs. Clang

What is Clang? 

Clang is a compiler front end used by C, C++, objective C, also objective C++ programming languages that uses LLVM (low level virtual machine) as its back end. LLVM is a compiler infrastructure designed as a set of reusable libraries containing well defined libraries that is used for optimization of programs written in arbitrary related languages.

It’s an open source developed by the Apple Inc. together with tech companies such as Google , Intel just to mention a few. Generally it’s developed to offer a complete replacement in relation to the GNU Compiler Collection (GCC).

Features of the clang include its fast compile and low memory uses, expressive diagnostics, compatibility when it comes to user end features.

In general clang tries to create a new C++, objective C++, C and objective C front end for LLVM compiler.

What is GCC?

GCC stands for GNU Compiler Collection. It’s the compiler for the GNU operating system and is also the standard compiler for other operating system including the UNIX family of operating systems. It’s designed to support a wide variety of processor architectures and used as a development tool in both free and propriety software.

It’s therefore a collection of compilers for languages such as C, C++ etc. it contains front end collection for the language as well.


Pages: 1 2

No Comment

Comments are closed.