PDA

View Full Version : I'm confused, Linus hates C++, but prefers KDE which is Qt/C++



loell
September 22nd, 2007, 04:38 AM
can someone alleviate my confusion? ;)

Edit: the link to the article http://emonk.debianuruguay.org/?p=42

the original thread http://www.spinics.net/lists/git/msg41567.html

loell
September 22nd, 2007, 04:48 AM
oops, a typo, i mean prefers

p_quarles
September 22nd, 2007, 04:56 AM
Because Linus likes to say things that cause controversy. He's admitted as much on several occasions.

In my limited understanding of these things, C++ is just too high-level a language for coding something fundamental like a kernel. My best guess at an explanation would be that it's useless to Linus, so he decides to insult it. Kinda like the "real men don't back up their data" comment. Half of his public comments seem to be an in-joke that he shares with himself.

loell
September 22nd, 2007, 05:33 AM
Half of his public comments seem to be an in-joke that he shares with himself.

i'm doubtful that this is one of those.. as he stated,


infinite amounts of pain when they don’t work (and anybody who tells me
that STL and especially Boost are stable and portable is just so full
of BS that it’s not even funny

jrusso2
September 22nd, 2007, 05:50 AM
Linux and C go together. C and Unix go together. Linus coded the kernel in C, so I guess that is what he likes.

Jucato
September 22nd, 2007, 05:50 AM
I think you should try to put it within the context of the discussion (not to mention a link to the mailing list thread).

Linus was basically reacting to someone telling him that his choice of C for Git is terrible and that it should have been made from C++. On the other hand, his statements about KDE versus GNOME was made not on grounds of whether it was C or C++, but on the ways development was handled.

So Linus is basically saying that C++ for Git, and for some purposes, is inappropriate. It had nothing to do with KDE or Qt. About STL or Boost, well, I think there are even C++ programmers who do not like STL either.

And yes, Linus does make very emphatic statements. He admits to it, and sometimes says that he intends it, if only to spark discussion, which he likes.

p_quarles
September 22nd, 2007, 05:52 AM
i'm doubtful that this is one of those.. as he stated,
Well, like I said, that was my best guess. Not saying it was necessarily a good guess. :)

daxumaming
September 22nd, 2007, 06:00 AM
I'm sure you mean this this post (http://www.spinics.net/lists/git/msg41567.html)!

Actually, he just doesn't want his git coded in c++... c++ isn't really suitable for git. Besides, git's already working well, why would anyone want to mess it up.

loell
September 22nd, 2007, 06:04 AM
I'm sure you mean this this post (http://www.spinics.net/lists/git/msg41567.html)!

Actually, he just doesn't want his git coded in c++... c++ isn't really suitable for git. Besides, git's already working well, why would anyone want to mess it up.

yeah, thanks dax for posting the original thread :)

is it just just really the git that he's concerned about? i mean he does talk of several things in there not related to git

23meg
September 22nd, 2007, 06:41 AM
Linus' sympathy for KDE is rooted in his dislike of GNOME (mostly interface and politics-wise), not in the technical superiority of KDE. I've heard him criticize KDE on technical grounds quite a few times.

loell
September 22nd, 2007, 06:59 AM
Linus' sympathy for KDE is rooted in his dislike of GNOME (mostly interface and politics-wise), not in the technical superiority of KDE. I've heard him criticize KDE on technical grounds quite a few times.


I see, now I'm somewhat enlightened, I have not seen/read Linus criticizing KDE on technical grounds, maybe thats the missing link that I am looking for.

Crashmaxx
September 22nd, 2007, 02:31 PM
While we are on the topic of C++, I'm surprised that it makes for this much of an issue versus C. From my understanding, C++ is just C with stuff added to it to make it able to do more. So why couldn't you code something in C++ the same way as you would in C? And therefore why is there much debate about something like this at all?

Bothered
September 22nd, 2007, 02:40 PM
So why couldn't you code something in C++ the same way as you would in C?

You could, but that would be missing the point. C++ allows you to design the program in a completely different way to how it would be created in C.

vegittoss15
February 13th, 2009, 09:54 PM
His problem is with the idea of the "object-model crap" and STL/Boost. The latter with which I agree with.

bapoumba
February 13th, 2009, 10:16 PM
Old thread, not much to add. Closing.