realtime design

Greg Ewing see_reply_address at something.invalid
Thu Oct 17 18:44:46 EDT 2002


Tim Daneliuk wrote:

>> the problem here is not absolute time response but
>> *determinism*. If I understand the commentary above (and I may well not!)
>> the issue is that you cannot get predictable (== deterministic) behavior
>> when python hands control down to a lower layer of code written in 'C'.


If determinism is really *all* that's needed, it could be
achieved by equating one unit of simulated time with one
Python bytecode. Stackless Python may be able to help here,
with its bytecode-count-based task switching.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list