[aur-general] TU application (Kyle Keen)
Thomas S Hatch
thatch45 at gmail.com
Thu Mar 3 22:14:16 EST 2011
On Thu, Mar 3, 2011 at 8:06 PM, Thomas Dziedzic <gostrc at gmail.com> wrote:
> On Thu, Mar 3, 2011 at 5:04 PM, keenerd <keenerd at gmail.com> wrote:
> > On 3/3/11, Thomas S Hatch <thatch45 at 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.
More information about the aur-general
mailing list