Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Right. Yes, I am aware of the threading module. It depends on the type of application what to prefer: memory-bound vs CPU-bound tasks


Just curious but could this be possible to get around by having multiple copies of the python interpreter installed on your sytstem? Maybe possibly changing some config strings so the GIL thinks it's something else.


ProcessPoolExecuter from the futures package essentially does this, it runs multiple instances of the interpreter and then distributes instructions to them.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: