realtime design

Chris Liechti cliechti at gmx.net
Sun Oct 13 14:33:09 EDT 2002


Kragen Sitaker <kragen at pobox.com> wrote in 
news:83it06i7zq.fsf at panacea.canonical.org:

> "James J. Besemer" <jb at cascade-sys.com> writes:
>> I feel Python is eminently suitable for many real time applications.
>> It only begins to break down in those circumstances where the real
>> time constraints are very tight.  Even then, C modules can be written
>> to handle some of the time-critical functions.  Only on the high-end
>> of real time performance would I say that Python is probably not the
>> right choice.
> 
> Different people mean different things by "real time", as you pointed
> out.  For your meaning of "real time", I agree with you.  But for
> another meaning of "real time" --- "guaranteed worst-case response
> time" --- I don't think Python is suitable, because a programmer
> cannot correctly calculate a worst-case response time for any but the
> smallest Python programs.

and why do you think is python different than other languages?
i think it has clear semantics, you know whats going on. e.g. you know 
exactly when memory is freed (CPython) etc.

what you need is an underlying realtime OS, that guaratees that the real 
time tasks get enough CPU power at the right time. without that absolutely 
no programming language can help out.

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list