Hacker News new | ask | show | jobs
by loewenskind 5806 days ago
>The GCC compiler and toolchain aren't optimal, and I fully expect a major Linux distribution to switch to Clang/LLVM in the not too distant future.

Have you looked through the Linux kernel code? There is a lot of gcc specific stuff in there. I don't think the Clang change will be as fast as you think.

1 comments

The worst that can happen is porting GCC features over to a GPL-licensed Clang fork.
It could actually be quite bad - maintaining a large featureset like this in a fork would probably cause major problems. Fortunately GCC compatibility is listed as one of the official goals of Clang.
It's not a catastrophe. It's just more work. Which was my point.