by szastamasta · 3y ago · 0 comments
Saying that Python is faster than Go with this as a proof looks like overreaching for Me. It only proves that wrapping C code in Python is fast. It’s an achievement, sure, but your app probably won’t be faster when you add thousands of Python lines between request and response.
I used https://github.com/TechEmpower/FrameworkBenchmarks and in the future i will write fortunes and other benchmarks with have more things going on!
> It only proves that wrapping C code in Python is fast.
Yes, it proves that for this specific use case Python is faster.
And if you are not making reference to a specific implementation then the comparison does not make any sense.
Then it kind of make sense to talk about " pure Python" (the interpreted one) and "wrapped C", doesn't it?
Good. Because otherwise people would be mislead to think that Python itself is fast. The Python plus C combo has opposite tradeoffs in many dimensions.