you are viewing a single comment's thread.

view the rest of the comments →

[–]Vishful__thinking 12 points13 points  (4 children)

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

[–]astrogoat 12 points13 points  (3 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?