3 ms·
Maybe? Maybe not. I have coded services in Java that would never JIT before a reboot. Python can often beat un-JITed Java. For an IO bound tasks that is using
by brianwawok 10y ago
Maybe? Maybe not.
I have coded services in Java that would never JIT before a reboot. Python can often beat un-JITed Java.
For an IO bound tasks that is using less than 100% CPU.. again Python could be identical performance or at least very similar performance to Java.. Think of a simple rest service getting 10 hits per second. Maybe the Java service will be a few micros faster, but to a client across the internet you won't care.
Now yes you are right if you are having 900 requests per second hitting your API, the Java API will crush the Python API. Not every app or service hits that though, and I would sure rather code in Python over Java.