3 ms·
I love Python and use it as the main tool at my day job but I have to call it out. > It lets you do synchronous and asynchronous programming with asyncio and i
by owaislone 10y ago
I love Python and use it as the main tool at my day job but I have to call it out.
> It lets you do synchronous and asynchronous programming with asyncio and it’s shamelessly fast. Even faster than NodeJS and Go.
and then,
> To be fair all the contestants (including Go) were running single worker process.
What is the point of such a benchmark? It is completely useless. You are deliberately crippling other tech before comparing your tech with them.
What am I missing here HN?
- dvirsky 10y agoIf I'm reading this correctly, and he set GOMAXPROC to 1, that means that Go uses one system thread, but it still serves many requests concurrently, as there is an asynchronous IO loop under the hood. Same goes for Node.
- throwawayish 10y agoWhile I certainly don't want to give this sort of "benchmarking" any credibility at all: allocating significantly different compute resources for different samples would be at least as laughable (eg. giving Go a dozen cores [per it's defaults] but constraining Python to one worker [per it's defaults]).