DEV Community

Discussion on: Why JavaScript not Python for Web Development?

Collapse
 
kdenehy profile image
Kelly R Denehy

Your comment is probably 5 years out of date.

Google "javascript performance vs. python" and you'll find numerous benchmarks showing javascript faster, sometimes MUCH faster, for most of them.

Javascript has supported multi-threading for quite a while. "Web Workers" are available in both the front and back ends, and there are several language constructs for performing asynchronous operations.

But if you love python, by all means use it for the backend, preferably for providing REST services.