Does python have the capability for driver development ?

Rodrigo S Wanderley rwanderley at rsw.digi.com.br
Wed Jul 29 19:30:21 EDT 2009


"Martin P. Hellwig" <martin.hellwig at dcuktec.org> writes:

> Python is interpreted, so the first requirement would be that the
> interpreter (the python VM to be more precise) would run in the kernel
> or that there is a way for the interpreter to delegate operations to
> kernel restricted operations. Most notably access to the memory
> location of the hardware you want to write a driver for and possibly
> also a way to pass through a callback function for triggered
> interrupt coming from the hardware.
>
> So technically speaking it shouldn't be impossible. And there is
> perhaps something to say for being able to write drivers in a
> readable/easy programming language however I am afraid that if such a
> beast would be made that it would remain an academical exercise only
> due to performance constraints.

What about user level device drivers? Think the Python VM could
communicate with the driver through the user space API.  Is there a
Python module for that?

-- 
Rodrigo S. Wanderley <rwanderley at rsw.digi.com.br>
  -- Blog: http://rsw.digi.com.br



More information about the Python-list mailing list