[LLVMdev] [cfe-dev] RFC: A proposal to move toward using C++11 features in LLVM & Clang / bounding support for old host compilers
Chandler Carruth
chandlerc at google.com
Tue Oct 29 19:40:24 PDT 2013
On Tue, Oct 29, 2013 at 6:42 PM, "C. Bergström" <cbergstrom at pathscale.com>wrote:
> On 10/30/13 08:24 AM, Richard Smith wrote:
>
>>
>> May I humbly propose you create a c++11-development branch
>> now/later/anytime and let people start using that. In parallel to
>> that let people know that pieces of the c++11 branch will
>> potentially start merging Feb 1st 2014. (roughly 3 months from
>> today). This gives people time to review things before they hit
>> trunk, test, discuss and experiment in a way that virtual
>> discussions simply can't flush out. This hopefully won't hurt your
>> target of the release-after-next using more modern toolchains and
>> is *hopefully* a win-win in your view.
>>
>>
>> I don't see how this helps anything. We don't /want/ to have the hassle
>> of some people developing on a branch and some on trunk, so we would
>> essentially have trunk stagnating and everyone developing on the branch.
>> And then we'd merge the branch back again. Net result: exactly the same as
>> if the people who aren't ready for c++11 stick with the 3.4 release.
>>
> No its entirely not the same
>
> 1) Branch development is very common - I can't imagine *everyone* will use
> c++11 immediately and it causing some instant stall on trunk if a branch
> was made
>
It is not common in LLVM.
> 2) As stated before - a branch lets a *real* discussion happen *before* it
> hits trunk. With any big feature change - isn't it best to be a little
> conservative instead of potentially break 1st and fix-it-later approach.
>
> Right now we're having a virtual discussion about things which may/may not
> happen. A branch with code is a tangible which can allow *real* testing and
> feedback. I think it's being worked on independently, but I haven't even
> seen an updated style guide. I don't even know what's exactly being
> proposed at this time. "c++11" is still fuzzy...
>
Many of the folks discussing this and indeed many of the contributors have
worked on reasonable size code bases with C++11 features. We also have a
sub-project using those C++11 features. I think there is nothing fuzzy and
nothing objectionable here.
I don't think your objection is significantly concerning, and frankly, the
consensus (weighted by contribution to the projects) still seems strongly
supportive, and so I'm moving forward.
> clang/llvm has been around for 10 years?? Will waiting an extra month or
> doing some work in a branch 1st really kill anyone?
No, it simply won't happen. That's why we don't use branches often.
> Doesn't google and friends already use a branch model for development/test
> before it's merged.
>
Many people maintain branches for internal code that doesn't get
contributed (often because it's not useful, or just not ready). But when
they go to contribute it, they work to integrate it into the mainline as-if
developed against head. Andy's recent work on the support for patching
running code etc is a great example.
Please don't make this about Google, Apple, or other companies, as it
isn't. This is about the LLVM open source project, and what the body of
active contributors think the *right* direction for the project is. I think
we have some pretty strong agreement thus far: C++11.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131029/7ddbd67b/attachment.html>
More information about the llvm-dev
mailing list