(no title)
jwatte
|
7 months ago
Python is still a 10x or more performance sacrifice for anything that's actually CPU throughput limited.
Or, alternatively, your VM hosting cost will be 10x larger on Python, than something top of the line, if your workload is CPU throughput limited.
Whether you're actually CPU limited, and whether VM hosting costs is your largest cost, is a totally different question :-)
kragen|7 months ago
As a side note, the most popular databases are getting only a tiny fraction of the available performance on current hardware. I wrote a couple of comments with more details about this a week ago: https://news.ycombinator.com/item?id=44408654
In the manycore world, Python's GIL makes some approaches to scaling across cores unavailable, though that is changing. But I don't think those are usually relevant to web server throughput, just (potentially) latency.
IgorPartola|7 months ago
I haven't tried it yet but I do wonder about the feasibility of writing code in Python and then having an LLM transcode it to something like C, especially since I know C well enough to do what I want in that directly so I could check the resultant code by hand.