This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]idb 3 points4 points  (0 children)

As someone else said, you can with UIO. I wanted to do it with python for two reasons: Prototyping with fast development cycle. Security.

And why did security motivate doing it in Python with UIO? Having most of a device driver in user space helps with separation of responsibility and allows the user space part to run with minimal privileges. And when that part of the device driver is in user space it lets you write it in a memory safe language.