Óscar Fuentes
2013-Feb-06 10:42 UTC
[LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
Bill Wendling <wendling at apple.com> writes:> Using a development branch and then slamming those changes into trunk > is at odds with the llvm style incremental development philosophy.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?> 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 changes that are being complained about have only been happening > for about a week now.I have several modifications on my code base that go back until past June for adapting to changes on the attributes API. But that's not the point. I'm not thinking about your specific case, but on the general one.> 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.
Bill Wendling
2013-Feb-06 19:01 UTC
[LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
On Feb 6, 2013, at 2:42 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:> Bill Wendling <wendling at apple.com> writes: > >> Using a development branch and then slamming those changes into trunk >> is at odds with the llvm style incremental development philosophy. > > 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.>> 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.>> The changes that are being complained about have only been happening >> for about a week now. > > I have several modifications on my code base that go back until past > June for adapting to changes on the attributes API. But that's not the > point. I'm not thinking about your specific case, but on the general > one. > >> 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. -bw
Óscar Fuentes
2013-Feb-06 19:43 UTC
[LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
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.>>> 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.>>> 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. 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.
Reasonably Related Threads
- [LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
- [LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
- [LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
- [LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
- [LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API