LWN.net Logo

Clang

Clang

Posted Oct 25, 2007 3:56 UTC (Thu) by akanaber (subscriber, #23265)
Parent article: A potential competitor for GCC: pcc

Chris Lattner and other LLVM people are working on a C Compiler called Clang (a C/C++/ObjC frontend to go with the LLVM code generator back-end), which looks way more interesting than pcc, to me anyway. It has lots of nice features (good diagnostics as well as being fast, designed to support integration with code-analysis tools) and by using LLVM it already has a good optimiser and lots of target platforms.

(the older way to use LLVM as your compiler is llvm-gcc which lashes the GCC frontends to LLVM by translating representation languages, and so inheirits some of GCC's performance and code complexity)

It's BSD licensed too. There's a good online talk (Clang stuff about 19 min in).


(Log in to post comments)

Clang

Posted Oct 25, 2007 6:28 UTC (Thu) by MisterIO (guest, #36192) [Link]

Wow, Clang is really interesting!

Clang

Posted Oct 25, 2007 7:18 UTC (Thu) by Frej (subscriber, #4165) [Link]

Yeah clang looks very interesting, but i don't think they aim for replacing gcc ... isn't more
about replacing gcc+gcc-output-parser in Xcode?



I might be wrong though...

Clang

Posted Nov 4, 2007 22:53 UTC (Sun) by roc (subscriber, #30627) [Link]

Most of those claims for CLang are actually promises and goals, since CLang can't actually
generate code yet (at least it couldn't at the time that talk was produced).

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds