News for hackers. Stuff that matters.
Re:Why Python Is Slow: Looking Under the Hood (2014) by pcwalton on Friday July 08, 2016 @01:06PM (#12057007)
In the case of an I/O bound Web server, I don't think that Go is going to appreciably result in "leaving money on the table". Python releases the GIL on I/O, which is where your time is largely spent.

> this is more efficient than spinning up an OS thread per request

Linux is very fast at spawning threads. When you're doing I/O, it doesn't matter.

Go's concurrency is not "fundamentally different" from any of the other languages. It's just an implementation of thread-per-connection in userspace. This is an implementation detail, and for a typical Web server I think it doesn't matter much.

There are no comments on this comment yet.