Linked by Thom Holwerda on Sun 22nd Jul 2007 00:33 UTC, submitted by liquidat
Linux Linus Torvalds included patches into the mainline tree which implement a stable userspace driver API into the Linux kernel. The stable driver API was already announced a year ago by Greg Kroah-Hartman. Now the last patches were uploaded and the API was included in Linus' tree. The idea of the API is to make life easier for driver developers: "This interface allows the ability to write the majority of a driver in userspace with only a very small shell of a driver in the kernel itself. It uses a char device and sysfs to interact with a userspace process to process interrupts and control memory accesses."
Permalink for comment 257182
To read all comments associated with this story, please click here.
RE[6]: I wonder...
by henrikmk on Sun 22nd Jul 2007 09:06 UTC in reply to "RE[5]: I wonder..."
Member since:

bnolsen: And there's a lot to be said about getting something out there that people can chew on and give you feedback on instead of just sitting around a table talking.

Kaiwai: Oh, come on. The above is the equivalent of invading Iraq and failing to do the research before hand - now look what has happened.

Now, if the Iraqi invasion was prototyped first... :-)

Seriously, after getting stuck in crap code, I've had enough of the "code first and ask questions later" approach. I never had a formal education in real program design, so I don't know all the fancy theories, but it can't be that hard to see that leaving out planning is going to backfire in major and unexpected ways later, causing countless lost hours of creating workarounds to rushed or badly planned code.

Creating prototypes, whenever you can, is the best kind of feedback, I think, but it probably also depends on the context in which you are designing your stuff and how experienced you are in the matter.
I use an iterative approach, and if I have to do 10 prototypes before moving on and putting it into live production code, I'll do that, because I'm pretty sure that the 10th prototype will pay off later.

Reply Parent Score: 2