3 ms·
> If you're using runtime languages on the backed (node, python) then you're already failing the environment. Not necessarily. If you make a living running a t
by MaxBarraclough 7y ago
> If you're using runtime languages on the backed (node, python) then you're already failing the environment.
Not necessarily. If you make a living running a typical CRUD software-as-a-service offering, your code may really just be glue mapping HTTP requests to database requests. There, your choice of language doesn't count for much; your code isn't doing heavy lifting, the DBMS is.
It's quite possible your hardware requirements could be lower by writing in Python and tuning your database, rather than spending the same time writing non-performance-critical code in C++.
Frameworks like Tornado, for Python, are able to quite efficiently handle highly concurrent workloads, despite using a single-threaded, interpreted, language.
For computationally intensive code, then sure, a language like Python will need far more hardware horsepower to get the job done than C++ would.