Live data from Hacker News

Linus Torvalds on C++

harmful.cat-v.org

21–27 of 27 posts

Re: Linus Torvalds on C++

#21

When Linus speaks, you shut up an listen; he is an incredibly competent engineer and is opinion is always worth something. Then again, when Linus rants, you take out the popcorns, sit on the side and just enjoy the show.

Hm. I've read the Linux kernel. It was not so good. I'd go so far as 'competent'.

Re: Linus Torvalds on C++

#22

Well... not to be a C++ apologist, but bear in mind that these comments were made by Linus back in 2007 and 2004. His views may not have changed, but C++ has certainly changed since then.

Then again, his latest project, a scuba diving application, is written in C++.

I watched a video on this a few years ago, his reason for C++ is because QT basically requires it. He originally tried to write it in C using GTK, and hated GTK so he switched to C++/QT.

Re: Linus Torvalds on C++

#23

Well... not to be a C++ apologist, but bear in mind that these comments were made by Linus back in 2007 and 2004. His views may not have changed, but C++ has certainly changed since then.

I think this is the sort of view that he has problems with. It shows that you haven't understood any of his actual issues. It is a mindset thing as much as just C++ being `unhelpful`. Not that it is in the posted email but one of his issues is that on-one actually understands C++, but everyone thinks they do.

I think I understand Linus' concerns. I guess I'm not sure how you conclude that I do not, but, so it goes.

Languages do change, and implementations evolve. I think it's fair to temper criticism with the caveat that, hey, this was from a while back. And Linus' comments certainly were from a while back, considering the latest one was made in 2007. You didn't have shared_ptr, you didn't have unique_ptr, there was no auto type.

I'm not going to argue that these things make C++ awesome. I really don't work in C++ on a day-to-day basis. But the language is certainly different now than it was in 2007, and I think that does matter. At least a little bit :)

Re: Linus Torvalds on C++

#24

Earlier quoted context omitted.

I think this is the sort of view that he has problems with. It shows that you haven't understood any of his actual issues. It is a mindset thing as much as just C++ being `unhelpful`. Not that it is in the posted email but one of his issues is that on-one actually understands C++, but everyone thinks they do.

I think I understand Linus' concerns. I guess I'm not sure how you conclude that I do not, but, so it goes. Languages do change, and implementations evolve. I think it's fair to temper criticism with the caveat that, hey, this was from a while back. And Linus' comments certainly were from a while back, considering the latest one was made in 2007. You didn't have shared_ptr, you didn't have unique_ptr, there was no au…

I think the number one legitimate concern I can see, after just reading this for the nth time, is the trustworthiness of C++ compilers, which I believe was not so great in the early 90s. Now, I have no evidence to back this up (yet), but I'm willing to bet that clang and LLVM are verging on as trustworthy as (if not more than) GCC at this point. Nevermind MSVC, which would require its own analysis. I'm not a C++ programmer, but you're right: clearly it has advanced. And Linus has gone off on GCC as well for producing crappy output as well (https://news.ycombinator.com/item?id=8089321)

Re: Linus Torvalds on C++

#26
post #22

Earlier quoted context omitted.

Then again, his latest project, a scuba diving application, is written in C++.

I watched a video on this a few years ago, his reason for C++ is because QT basically requires it. He originally tried to write it in C using GTK, and hated GTK so he switched to C++/QT.

So, he hates GTK+ more than he does C++? what does that tell us about GTK+?

Re: Linus Torvalds on C++

#27

When Linus speaks, you shut up an listen; he is an incredibly competent engineer and is opinion is always worth something. Then again, when Linus rants, you take out the popcorns, sit on the side and just enjoy the show.

Hm. I've read the Linux kernel. It was not so good. I'd go so far as 'competent'.

Can you pinpoint at least several exact places of "not so good"?
Post reply on HN