3 ms·
Compare languages on performance is weird. Every language is made with another philosophy. Python isnt made for performance, but for good code readability. Wri
by w3news 6y ago
Compare languages on performance is weird.
Every language is made with another philosophy.
Python isnt made for performance, but for good code readability. Write clear, logical code for small and large-scale projects.
It is also made by Guido to build applications in less time.
Guido knows his language isnt the fastest, but thas wasnt the goal with Python.
Node.js is also made for other applications than Python.
It's great for web developers to be in the "JavaScript everywhere" world.
So it is easy for web developers to write backend and frontend code with the "same" language.
It's also great for event's and "real time" communication with the (web) application.
- colanderman 6y agoSyntactic differences aside, the capabilities of JavaScript and Python do not differ significantly. They are both highly popular highly dynamic object-oriented-ish languages. Knowing that the most prevalent implementation of one is significantly faster than the most prevalent implementation of the other is useful information for someone deciding between the two for a project where performance is important. Comparing alternative implementations of the languages, which are geared toward performance, would also be valuable. But simply knowing that, if your choice to use CPython is more-or-less arbitrary, you're leaving performance on the table, is valuable. (Of course, as discussed in the top-level thread by @SuchAnonMuchWow, this particular benchmark seems to be comparing apples to oranges, and thus may not be of much value.)