That's just for those people interested in concurrent and fpga-like programming (VHDL, SystemC, LabView, ... Tango+YAT?); I've found Stackless Python, a python implementation that gets rid of the C stack and simplifies a lot non-sequential programming in python (and still compatible with PyQt):
http://www.stackless.com/
What concurrent programming means:
print_three_times('uno')
print_three_times('dos')
print_three_times('tres')
stackless.run()
uno
dos
tres
uno
dos
tres
uno
dos
tres
I used to program in SystemC (a C++ alternative to VHDL) for hardware processes modeling and could be nice to see what weird emulations can be done in python!!, it also seems quite similar in functionality to the YAT library presented by Nicolas Leclercq in the last Tango meeting (with messaging and synchronization sugar between threads).
More info at:
http://en.wikipedia.org/wiki/Concurrent_programming
http://en.wikipedia.org/wiki/SystemC
http://en.wikipedia.org/wiki/Stackless_Python
There's also a module in python that emulates stackless providing a similar functionality (but remember that is just emulating ...)
ReplyDeletehttp://pypi.python.org/pypi/greenlet