News for hackers. Stuff that matters.
Re:Is C/C++ worth it? by djmdjm on Monday July 23, 2012 @08:09PM (#4283662)
Does it really serve anyone to have another ridiculous language war every time someone posts a microbenchmark that shows their favourite language winning?
Re:Is C/C++ worth it? by jamesmcn on Monday July 23, 2012 @08:26PM (#4283718)
No it doesn't. But the article in question isn't about whether Java is better than C++. It notes that Java and Javascript environments are getting better, so you have to work harder to optimize your C++ to the point where it is faster. Which is still possible, just harder.
Re:Is C/C++ worth it? by eswangren on Monday July 23, 2012 @09:16PM (#4283844)
Who the hell is writing C when JavaScript is an option? I mean, I love C, and I don't know JavaScript well, but they don't really live in the same problem domain.
Re:Is C/C++ worth it? by tsahyt on Tuesday July 24, 2012 @02:05AM (#4284543)
I too love C. And I would use it over JavaScript any time. But that's mainly because I can't stand JavaScript ;) For prototyping and problems which are just easier to handle in higher level languages I'd go for Python.

I think it's a shame that the client side of the web is basically limited to JS, because seriously, that's the only reason so many people started coding in it in the first place. I believe that if we could, many devs would prefer other languages.

Re:Is C/C++ worth it? by antidoh on Monday July 23, 2012 @09:32PM (#4283881)
node.js
Re:Is C/C++ worth it? by eswangren on Monday July 23, 2012 @11:33PM (#4284248)
I was under the impression that application programming using node.js was done primarily in JavaScript...
Re:Is C/C++ worth it? by antidoh on Tuesday July 24, 2012 @01:00AM (#4284406)
Yes, on the server, where C also lives.
Re:Is C/C++ worth it? by eswangren on Tuesday July 24, 2012 @11:59AM (#4286228)
Right, but people who are using node.js aren't writing C. Of course C comes into play to do the heavy lifting, but we're not talking about infrastructure. Writing a web server and writing a website are two very different problem domains.
Re:Is C/C++ worth it? by bunderbunder on Tuesday July 24, 2012 @08:56AM (#4285447)
No. . . but it's going to happen anyway.

The same thing happened when (non-GC) HLLs started to overtake assembly language. And the discussions will continue to be equally context-free. And I'm sure that just like the last time around, the most vociferous participants in the debate will be people who don't have to work with terribly high performance demands anyway. On account of the people who do usually being way too overexposed to the mountains of nuance (and aware that the only reliable way to find the best option in any particular case is to do some measuring for that particular case) to feel comfortable making the kinds of categorical statements that make for good blogging.