On Thu, Mar 3, 2011 at 8:06 PM, Thomas Dziedzic <gos...@gmail.com> wrote:
> On Thu, Mar 3, 2011 at 5:04 PM, keenerd <keen...@gmail.com> wrote: > > On 3/3/11, Thomas S Hatch <thatc...@gmail.com> wrote: > >> Should I ask him to explain how the python GIL works? > > > > In one word: poorly. Not that I care, my laptop is single core and > > in-order to boot. If I had one of those pretty six core Phenoms I'd > > be switching my code over to Stackless faster than you can say lock > > contention. > > > > -Kyle > > http://kmkeen.com > > > > check import multiprocessing > It's uses processes instead of threads, but it's probably a really > good way of utilizing all your cores :) > Yes multiprocessing is awesome, but they are heavy weight - and they break zeromq, my preferred networking lib. Sometimes I wish there was a clean middle ground, unfortunately it is called writing code in a not interpreted language, so I am slowly sharpening my OCaml knife.