DragonFly BSD
DragonFly kernel List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: User-Space Device Drivers


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 2 Mar 2006 09:31:05 -0800 (PST)

:Would you be opposed to me using C++ for the user-space part of the
:framework?  I thought this would be okay since it will be code outside
:the kernel and the extra typing information would allow the C++ compiler
:to potentially optimize better.  Plus, if for some reason I do need a
:template class, I can do this easily without macro magic in the C
:preprocessor.
:
:-- 
:William Michael Grim

    What I care about most is the kernel<->userland interface (system calls)
    used to implement the interface.  As long as that protocol is well
    defined then it doesn't matter what you write the userland side in. 
    I'm not a C++ programmer so when start on ZFS it will be using a C
    infrastructure.  It just means I won't be able to use your user-side
    infrastructure but would still use the kernel API and kernel
    infrastructure.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]