[Python] Che ne pensate?

Carlos Catucci carlos.catucci a gmail.com
Mer 19 Apr 2017 21:26:53 CEST


Sorry, node.js, Python is faster!

For a very long time now, node.js has evolved nicely. This was
because, right from beginning, it was designed to run smoothly, non
blocking, async mode.

Green threads - instead of pthreads with giant overhead - were the
right way for low latency applications.

But now there is libuv module for Python 3. Means: Python still runs
single thread with GIL, but libuv C module runs in a multi-threaded,
interleaved way to serve tens of thousands of TCP/UDP clients
smoothly.

https://github.com/channelcat/sanic/blob/master/README.rst


Carlos
-- 
EZLN ... Para Todos Todo ... Nada para nosotros


Maggiori informazioni sulla lista Python