Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
That's like comparing a grape ... To a huge fucking grape
Whilst yes .... They are both the same thing... A grape.
But one is huge with far more content which makes it way better.
And the other is small so whilst it can still do the job of making you feel less hungry. It's not a meal...
One can do a small job the other far bigger job ...
But carrying the big grape around is hassle ... The other fits in your pocket....
I've gone to far with the grape thing I think... -
brod100268y@shaks I had to out perform c++ with floating point calculations.. it was pretty close until c++ went parallel.
-
What about ease of use, especially for prototyping? Or is this for your own projects without a deadline?
-
wmhilton3398y@brod Floating point computations? Really? I mean, that's not exactly what JavaScript's known for... Did you at least use the SIMD extensions? (https://developer.mozilla.org/en-US...) I've always wanted an excuse to use those...
-
brod100268y@wmhilton yeah I was drunk and dug myself into a hole arguing with an engineer - JavaScript was faster initially but only because I was using clustering on a octocore 😅, c++ guy noticed it and proceeded obliterate me.
-
wmhilton3398y@brod Just a shame you had to say C++ is superior to JavaScript. There's some areas JavaScript is much better suited. For instance, I doubt the C++ standard library comes with a JSON parser or an AJAX interface.
-
@wmhilton not very fair to compare on standard library features is it? If so Java/C# would have come top.
It's much better to restrict comparison to language features. Things like Ajax or serialisation can come from libraries.
But then hey, use the right tool for the right job. C++ and JS are so so so diffident from each other the choice is usually bluntantly obvious given the context. I.e. use JS for device driver and C++ for DOM manipulation :-) -
tahnik389908yYou, brod, my friend, should admit that, you need for knowledge about programming languages
-
BartBB6898yIt's a part of a bet, I think the person who made him say it should, not Brod himself. @tahnik
I have lost a bet:
I, Brod, admit that, C++ is superior to Javascript in every way possible.
😒
undefined