User-Space Device Drivers

Matthew Dillon dillon at apollo.backplane.com
Thu Mar 2 09:38:42 PST 2006


: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 at xxxxxxxxxxxxx>





More information about the Kernel mailing list