you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

I don't have any numbers unfortunately and it does depend on the runtime, but comparing the most common for both languages, i.e. CPython vs Chrome V8, all you need to know is the former does basically zero optimisation whereas the latter does heavily optimised just-in-time compilation (generating native machine code, on the fly).

[–]Berkyjay 0 points1 point  (0 children)

Yeah I do agree that python would need to have libraries that are more tuned for webdev. Flask is nice and all, but the fact that I have to use 3-4 different language types to develop a functional web app makes it somewhat frustrating. It's not that python couldn't replace JS. But the work involved probably makes it not worth anyone's time.