News for hackers. Stuff that matters.
Re:C++ at Google: Here Be Dragons by jrockway on Monday May 23, 2011 @05:51PM (#2577722)
who's behind gcc? Nobody?

I hear there's this kernel called Linux that depends heavily on GCC.

Re:C++ at Google: Here Be Dragons by xorglorb on Monday May 23, 2011 @06:02PM (#2577758)
Clang has been able to build Linux since October of last year.

http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-October/0117...

Re:C++ at Google: Here Be Dragons by ch0wn on Tuesday May 24, 2011 @01:14AM (#2578766)
Clang has support for a lot of gcc extensions: http://clang.llvm.org/docs/LanguageExtensions.html
Re:C++ at Google: Here Be Dragons by tedunangst on Monday May 23, 2011 @06:42PM (#2577883)
And Linus's feelings about that relationship are...?
Re:C++ at Google: Here Be Dragons by wisty on Tuesday May 24, 2011 @08:10AM (#2579493)
Pragmatic, I would guess.

"Quite frankly, I'd like there to be more competition in the open source compiler game, and that might cause some upheavals, but on the whole, gcc actually does a pretty damn good job."

http://kerneltrap.org/Linux/Volatile_Performance

Re:C++ at Google: Here Be Dragons by roel_v on Tuesday May 24, 2011 @05:16AM (#2579189)
But why would the kernel depend on gcc? Are there so many gcc-isms in there that would be hard to replicate on other compilers?
Re:C++ at Google: Here Be Dragons by adestefan on Tuesday May 24, 2011 @08:59AM (#2579599)
The biggest one is (was?) the use of GNU variable length arrays. The GNU extension has different syntax than C99's variable length arrays. There are also instances of __attributes__ on platform specific code.