LWN.net Logo

Gits

Gits

Posted Sep 13, 2007 2:12 UTC (Thu) by ncm (subscriber, #165)
Parent article: Quotes of the week

I wonder where Linus got the idea that Monotone is "a horrible and unmaintainable mess". I expect he just made it up. The mass of stunningly ignorant remarks (the more ignorant, the more vociferous) posted in that thread makes me less inclined to try Git.


(Log in to post comments)

Linus played with Monotone before

Posted Sep 13, 2007 7:24 UTC (Thu) by khim (subscriber, #9252) [Link]

Linus first tried to play with Monotone - before he wrote Git. It was back when kernel developers tried to choose what to do when BitKeeper was pulled out... More about it here

So no, it's not the case where Linus just blindly badmouth other project - he actually tried to use it and some concepts looked good while some other were horribly bad.

P.S. Of course what Linus knows about Monotone is two years old info but I do not think Monotone was rewritten since then...

Monotone

Posted Sep 13, 2007 18:35 UTC (Thu) by ncm (subscriber, #165) [Link]

Actually, much of it has been rewritten.

I recall Ken Thompson unimpressed with Linux in 1999: "Microsoft is really unreliable but Linux is worse. In a non-PC environment, it just won't hold up." Much of Linux has been rewritten since then, too.

Ultimately, this is just trash-talk. It goes over well with the posse, but it's low. Brian Kernighan has never indulged.

Linus played with Monotone before

Posted Sep 15, 2007 19:06 UTC (Sat) by nlucas (subscriber, #33793) [Link]

Linus is badmouthing C++ use, not Monotone. In his view, C++ is unmaintainable, so Monotone is also, but remember that is his view, not the view of any Monotone developer, and never heard anyone who actually programmed in C++ criticizing Monotone code base.

Linus looked at Monotone when the project was just starting and most of the defects were things not implemented and/or not optimized yet. I would say 50-70% of the core git ideas come from what Linus saw in the Monotone design.

There are still many things left to do on Monotone, but now you can't compare the rate of development of a "Linus sponsored" project against low-profile ones as Monotone.

IMO Monotone is a great CVS, but it's not optimized for such a big project as the Linux kernel, and the developers are not in the final optimization steps yet, as they still have things left to do on the design.

Linus played with Monotone before

Posted Sep 16, 2007 4:31 UTC (Sun) by graydon (subscriber, #5009) [Link]

I tire of this discussion. It's such trash-talk. It doesn't even relate to our project. Our code is neither OO nor remotely messy or hard to maintain; it's in an idiosyncratic style, but I hardly think kernel developers should be throwing stones there. It's absolutely packed with staic and dynamic checking code, so you're unlikely to screw it up too badly if you make a mistake.

I'm not going to leap to defend C++. It's just a language. It's got a few advantages over C -- exceptions, destructors, strings, vectors and maps in the standard library -- but honestly it's still covered in warts. Show me a mature language that isn't. Languages are all tradeoffs. I picked it at random from an uninspiring set of choices.

Git is smaller and leaner because of a variety of hard-wired design decisions that we've intentionally rejected, just as they rejected our design decisions. Our history structure is richer -- including better merging -- we don't have as many trust failure modes, our disk, memory and network formats are decoupled, each is independently field-upgradable, and we compile and run on more toolchains and platforms than git. The rest of the discussion is just random flame rhetoric.

Gits

Posted Sep 13, 2007 15:16 UTC (Thu) by nix (subscriber, #2304) [Link]

It's your loss. git really is terribly good. (And no, I didn't agree with
a while pile of Linus's C++ comments, but ye gods! look at what he was
responding to!)

Gits

Posted Sep 16, 2007 12:07 UTC (Sun) by njs (guest, #40338) [Link]

> ye gods! look at what he was responding to!

That's the irony of his closing slam at monotone -- as a monotone hacker, I actually sympathize with most of his earlier comments, even if their phrasing is a bit over-the-top. Beating off the OOlier-than-thou crowd with sticks can get tiresome at times. It's unfortunate that a nice rant ends with what's clearly question-begging -- he uses monotone to support his claim that C++ makes projects unmaintainable, and he knows that monotone is unmaintainable because it uses C++...

Gits

Posted Sep 16, 2007 17:05 UTC (Sun) by nix (subscriber, #2304) [Link]

And yet, as others in this thread have pointed out, he uses KDE, which has
as time has gone by expanded the subset of C++ it uses until it
encompasses most of the language and libraries...

Yet KDE seems to be maintainable :)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds