[LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
Bill Wendling
wendling at apple.com
Wed Feb 6 11:50:26 PST 2013
On Feb 6, 2013, at 11:43 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> Bill Wendling <wendling at apple.com> writes:
>
>>> In this case, the LLVM incremental style is counterproductive, for both
>>> users and developers. Who is interested on watching your API going
>>> through intermediate stages and (possibly) experimental points until it
>>> stabilizes?
>>>
>> People who are interested in catching errors quickly before they
>> become expensive things to hunt down.
>
> If I'm understanding what you say, you are interested on catching errors
> on an experimental API by forcing it on everybody who works with ToT?
> Hmmmm.
>
It wasn't experimental! The rewrite was quite invasive and had to go through many different steps before it could settle. This would have happened whether I did it on a stupid git branch or not. Again, I could *not* slam a whole new set of 3000+ lines of code into the trunk without drawing the ire of everyone in the community.
>>>> Living on ToT isn't easy. No one ever said it would be.
>>>
>>> This is no reason for ignoring practices that can improve the
>>> experience.
>>>
>> The most important thing is the health of the tree.
>
> This seems to contradict what you wrote above. By going through several
> iterations of the API development, you are putting the health of the
> tree at risk multiple times, instead of just one if you merge to trunk
> once you consider your API stable enough.
>
No it doesn't contradict it. Each step had to be a solid change. If you are relying upon code that is changing and had been *informed* that it was changing, then you're doing it wrong.
>>>> And they're more stable day by day.
>>>
>>> You are proving my point. It is a waste to use trunk for things that are
>>> considered by the author to be on work-on-progress state. That only
>>> creates noise for both developers and users, without any advantage for
>>> the author. Work on a feature branch and merge the changes when you are
>>> happy with your code.
>>>
>> Are you new to LLVM or just haven't been paying attention? Developing
>> features on trunk is what ALL developers do.
>
> First, please tone down. This is not about you personally, but about
> blindly applying the LLVM development guidelines when doing something
> else would be better for achieving the ultimate goal of such guidelines.
> After all, the guidelines are just a set of practices for (hopefully)
> obtaining an effect.
You and Daniel have chosen me out of all of the changes going into the trunk as the whipping boy. This is personal. This conversation can serve no further purpose.
-bw
> Second, not all developers use trunk for experimental code. More and
> more of them use git or keep private patches until they consider that
> the code is ready for prime time. I think that just a minority would
> commit changes to stable core components of LLVM (much less alter an
> API) as a means for storing the current state of their work-on-progress,
> knowing that such changes will impact other developers and/or users.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list