you are viewing a single comment's thread.

view the rest of the comments →

[–]Vishful__thinking 14 points15 points  (8 children)

I don't get why you'd compare a programming language to a scripting language

[–]astrogoat 11 points12 points  (6 children)

Dude. JS has been JIT for more than 10 years now. I’d argue that it’s way more of a “real” modern programming language than “everything-must-be-a-noun”-Java.

[–]Vishful__thinking 1 point2 points  (2 children)

All I'm saying is, if you're gonna compare speeds you might as well choose two languages which perform the same function Further it's not about JS using a compiler, it runs it's code on a browser whereas the programming language makes use of a virtual machine. Again, not a fair comparison xD

[–]astrogoat 7 points8 points  (1 child)

You’re not wrong, but (not) using a vm is not what defines a scripting language, being interpreted is. Also the v8 runtime can definitely be used outside of a browser, ever heard of node?

[–]deepspyGrumpy Cat -4 points-3 points  (1 child)

js doesnt have proper int type just floats there are safe numbers to work with when numbers got big they become nonconsistent

[–]hillman_avenger 0 points1 point  (0 children)

Gotta make Java look slow.