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

Running multiple sub-interpreters in different threads is easy in Tcl, but it doesn't stop there. If you want, you can run multiple threads in a single interpreter, using locks mutexes, etc., if you're inclined to take on the attendant complexity and risks.

Ability to run a separate interpreter per thread was designed as a handy simplification, so you could sidestep the usual complexity of thread programming if you wanted.



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

Search: