a soft real-time system using pythonm

anton wilson anton.wilson at camotion.com
Wed Jul 31 12:33:36 EDT 2002


O
> A realtime system places an upper bound on all operations, but the very
> nature of Python makes this impractical if not impossible.
>
> An interaction between Python's handling of the GIL and the platform's
> pthread library is going to be the least of your problems if you
> actually intend to deliver a system which gives realtime guarantees on
> Python programs.
>
> Jeff


If the soft-real-time system we use makes simple function calls and only uses 
simple datatypes and possibly tuples, what are some of the potential pitfalls 
we could run into? I understand the deallocation issue and the garbage 
collection issue. (Does garbage collection have to be enabled?) Can we 
somehow get an idea on the worse case time delays in python using only simple 
function calls and assignments with small tuples and simple datatypes?




More information about the Python-list mailing list