Yeah, how dare someone suggest using something as nonportable as the STL or Boost on a project like git*!
* Of the three mentioned pieces of software, finding the one that until very recently ran only on Linux-like Unix variants and has large blocks of functionality implemented in bash is left as an exercise for the reader.
I'm not sure what you're referring to, but for a long time, the problem was: "I am on Windows and cannot run git. I also can't run DTrace or the Mac version of Photoshop. All for the same reason." I'm paraphrasing.
It was other people who took the initiative to port git to Windows -- not Linus. He demonstrably didn't give a crap about portability, so when he decided all of a sudden to use it as a (completely unsubstantiated, by the way) rationale for rejecting C++, lots of people rightly slammed him.
"""Not only have I looked at the code, I've also debugged it quite a bit. Granted most of my problems had to do with handling paths on Windows...
[snip]
My goal is to use Git. When something does not work for me I wantto be able to fix it (and contribute the fix) in shortest time possible and with minimal efforts
[snip] The fact that Git is written in C does not really contribute to that goal. """
Linus C++ rant was in response to an earlier post by Dmitry, but Linus may have already known the context
Thanks...I should have been able to figure that out ("context" in a mailing list discussion is fairly self explanatory).
However, it seems like the only hurdle would be getting Boost installed -- the STL is part of the standard library, so if you have a C++ compiler, you already have it. And honestly, his complaint is more valid against Boost anyway, as it doesn't really aim for stability. Even so, if you're planning to submit patches, clearly you'll be compiling it a lot, and the effort of installing extra libraries once is pretty small amortized over all the time you'll be working with it.
Even so, if you're planning to submit patches, clearly you'll be compiling it a lot, and the effort of installing extra libraries once is pretty small amortized over all the time you'll be working with it.
I agree with you in general. But, I would not be surprised if Linus's own development systems are fairly volatile software-wise: different kernels/compilers/libc versions (I'm totally guessing).
So from his own perspective dragging in anything like boost (which would require frequent rebuilding from source) is a total no-no...
View all comments
Show parent comment
9
u/deong Dec 17 '08
Yeah, how dare someone suggest using something as nonportable as the STL or Boost on a project like git*!
* Of the three mentioned pieces of software, finding the one that until very recently ran only on Linux-like Unix variants and has large blocks of functionality implemented in bash is left as an exercise for the reader.