News for hackers. Stuff that matters.
Re:C++ Grandmaster Certification by snogglethorpe on Friday February 01, 2013 @08:19AM (#5150528)
> No, RMS's stance of plugins does make adding C++11 features to gcc much harder

> clang, which is helped by the fact that there is a very clear, simple and DOCUMENTED boundary into LLVM

(1) People adding C++11 features to clang are not going to be dealing with LLVM, they're going to be modifying and extending clang's existing C++ parser. So however nice the clang-LLVM front-end-middle-end interface is, that's not going to have much impact on this job. Rather, what's important is the quality of clang's internal algorithms and data-structures (and those in gcc's c++ front-end). If clang does better there (dunno), that's great for them, but it has nothing to do with RMS's plugin position.

(2) RMS is not against clean code, nice interfaces, good data structures, and good documentation. His concerns (whether you agree with them or not) are the degree to which interfaces are expressed in a way that circumvents the GPL. Good interfaces don't circumvent the GPL;

So it's perfectly fine to clean up and document gcc's data structures and interfaces (and indeed, this is already happening, and has been for a long time). RMS isn't going to stop you.

Re:C++ Grandmaster Certification by jonhendry on Friday February 01, 2013 @04:50PM (#5153718)
"GCC suffers from layering problems and leaky abstractions: the back end walks front-end ASTs to generate debug info, the front ends generate back-end data structures, and the entire compiler depends on global data structures set up by the command line interface."

Chris Lattner, "The Design of LLVM" http://www.drdobbs.com/architecture-and-design/the-design-of...

(Seems possibly relevant to the boundary issue.)