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

My big python app (the robot end of a telepresence connection) suffers from GIL problems. Mostly, threads are used for C-only stuff like video compression so they can easily release the GIL while running. But I gotta say, the complexities of GIL correctness, thread performance, gtk/gobject, callbacks, boost.python, GC-correctness of both Python and C++ objects, and polling make my head hurt. Simplicity would be a find goal for the new system.


Is there a good python message passing implementation? Some problems fit message passing more naturally than threading.


http://docs.python.org/library/multiprocessing.html#module-m...

It has a Queue interface for passing objects, but also allows shared state.


If you're in the robotics space, you should seriously consider the Robot Operating System: http://www.ROS.org

You'll find their publish-subscribe message passing is quite simplistic, and the support is great.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: