Can device drivers be written in Perl?

J

John Bokma

Eric Schwartz said:
Amusingly enough, http://www.circlemud.org/~jelson/software/fusd/ is a
project to allow Linux device drivers to be written in userspace. I
don't know any technical reason those couldn't be written in Perl,
though you'd almost certainly have to write an XS wrapper for the fusd
library.

Moreover: what is a device driver? Something you plug into the OS, or
something that lets a program talk with a piece of hardware?

I can't see why the latter can't be written in Perl (for example
communicating with a camera via the serial port).
 
R

robic0

It depends on what you consider a "driver".

Consdering your recent postings, I'd rather not answer your question,
anyway.

What are you afraid of, I'm not gonna bite ya...
Someone already mentioned "user mode". Hey print
drivers are in user mode, the port driver being in
kernel. Don't think Perl can hook into kernel mode.
So whats left? All it takes is a dll and a module.
So now I will post a followup question in a new topic...
 
I

Ian Stuart

robic0 said:
So whats left? All it takes is a dll and a module.
A DLL?

Not alot of use to me boyo.... Not a windows user <grin />

I'm one of those Vocal Minorities...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top