4 ms·
Does it really serve anyone to have another ridiculous language war every time someone posts a microbenchmark that shows their favourite language winning?
by djmdjm 14y ago
Does it really serve anyone to have another ridiculous language war every time someone posts a microbenchmark that shows their favourite language winning?
- jamesmcn 14y agoNo 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.
- eswangren 14y agoWho 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.
- antidoh 14y agonode.js
- eswangren 14y agoI was under the impression that application programming using node.js was done primarily in JavaScript...
- antidoh 14y agoYes, on the server, where C also lives.
- eswangren 14y agoRight, 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.
- tsahyt 14y agoI 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.
- drhowarddrfine 14y agoNo, it means c++ programmers don't have to work as hard and still get 4x better performance.
- bunderbunder 14y agoNo. . . 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.