LLVM and Clang 3.4 Are Out
An anonymous reader writes that the LLVM compiler framework and Clang C++ compiler hit 3.4 "With C++14 draft fully implemented in Clang and libc++. Read more in LLVM and Clang release notes."
Also of note: "This is expected to be the last release of LLVM which compiles using a C++98 toolchain. We expect to start using some C++11 features in LLVM and other sub-projects starting after this release. That said, we are committed to supporting a reasonable set of modern C++ toolchains as the host compiler on all of the platforms. This will at least include Visual Studio 2012 on Windows, and Clang 3.1 or GCC 4.7.x on Mac and Linux. The final set of compilers (and the C++11 features they support) is not set in stone, but we wanted users of LLVM to have a heads up that the next release will involve a substantial change in the host toolchain requirements."
Does that make it the first compiler with full draft C++14 support? GCC is making progress but not there yet.
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
thanks alot, the beta is awful
I honestly don't think that GCC was made for you, Anonymous Coward. But that is also why it's nice that there are various options in the open source community...
I personally love command line compilation with gcc. Command line being a first class citizen means it's command line interface won't atrophy into a toy.
What's the code-completion situation in GCC these days, or the static analyzer situation? (I don't know.) Apple went with Clang at least in part because of not being able to get those features out of GCC without making Xcode GPL3 compliant, but I'd guess that an IDE with a compatible license might have a better shot at getting that information out of GCC. Code completion and static analysis are 2 of the great features of Xcode; I wouldn't want to go back to tools that didn't have either.
For example, I'm sometimes programming in Ada, which clang doesn't really compile (at least when I looked last time). Moreover, gcc with -O2 or -O3 produces faster executables on my machine.