Live data from Hacker News

Linus Torvalds on C++

harmful.cat-v.org

11–20 of 27 posts

Re: Linus Torvalds on C++

#11

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++.

It's not doing anything where performance is an issue.

Re: Linus Torvalds on C++

#12
post #9

With all due respect to Linus, this mail chain is just unreasoned argument. He vaguely mentions poor memory management and nothing else which is faulty in C++. It would have been helpful to reason out his choices then go on tirade of slang.

Linus's view on C++ (at least in the kernel) are generally well known. Also he was not the first to start on BS remarks in this particular email thread.

Re: Linus Torvalds on C++

#13

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++.

He says C++ is not good for writing things like kernels, not that is good for absolutely nothing.

Re: Linus Torvalds on C++

#16
post #4
post #2

I have been looking for an up to date website framework like werc (on which cat-v runs) for a personal site, blog, photo gallery, but could not find anything. I am seriously bothered by the amount of bloat that is present in self-hosting projects, qhere the latest and greatest flashy javascript libabry needs to be a baseline feature, and you definitely will need a non-relational database just to be able to host a blo…

Werc is in active development. When we find a problem, we fix it. Fortunately, werc doesn't have problems to fix very often.

Could you point me towards your repository please?

Edit: I see 3 months old changelogs in the dev branch. Those weren't there the last time I checked. huh

Re: Linus Torvalds on C++

#17
Linus wanted to compile the kernel in C++ in 1993, but there were bugs in the compiler and performance issues (related to exceptions if I remember well). He has switched back to C in 0.99.13: https://github.com/kernelslacker/linux-historic-scripts/blob...

I think his hate of C++ comes from this bad experience.

Re: Linus Torvalds on C++

#18

Earlier quoted context omitted.

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

He says C++ is not good for writing things like kernels, not that is good for absolutely nothing.

"C++ is a horrible language. It's made more horrible by the fact that a lot of substandard programmers use it, to the point where it's much much easier to generate total and utter crap with it. Quite frankly, even if the choice of C were to do nothing but keep the C++ programmers out, that in itself would be a huge reason to use C."

I wouldn't call that a nuanced opinion.

Re: Linus Torvalds on C++

#19
Rants like this can be seen as good examples of behavior to discourage. Linus has several positive traits, but compassion and humility are not among them.

Generally speaking, we should not give someone a pass on poor behavior just because they're technically talented.

Re: Linus Torvalds on C++

#20
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.

Post reply on HN