> > - C++ gives overhead. With something like a kernel that's unwanted.
>
> C++ gives an overhead only if you abuse it. The C++ code in my drivers does
> nothing that the equivalent C doesn't also do, except that it's easier to read.
It gives overhead. At least, a year ago with gcc.
>
> > - Things like exception handling is hard to do in a kernel.
>
> Again, you don't need to use exception handling in order to use C++. None of
> my C++ drivers use exception handling, and they don't need to.
You implement C++, or you don't. I hate things only partially implemented
/ used, it's a pain in the ass.
> > - The're a lot more people that know C than C++
>
> True, but all the driver programmers I know personally already know C++.
C++ is a total different aproach of working things out. I think that will
collide with the way of thinking that is 'in' the current kernel right
now.
Igmar
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: Linux kernel modules development in C++ Helge Hafting
- Re: Linux kernel modules development in C++ Wayne . Brown
- Re: Linux kernel modules development in C++ Timur Tabi
- Re: Linux kernel modules development in C++ Daniel Phillips
- Re: Linux kernel modules development in C++ Alexander Viro
- Re: Linux kernel modules development in ... Igmar Palsenberg
- Re: Linux kernel modules developmen... Daniel Phillips
- Re: Linux kernel modules developmen... Alexander Viro
- Re: Linux kernel modules development in C++ Igmar Palsenberg
- Re: Linux kernel modules development in C++ Timur Tabi
- Re: Linux kernel modules development in ... Igmar Palsenberg
- Re: Linux kernel modules developmen... Mike Touloumtzis
- Re: Linux kernel modules develo... Igmar Palsenberg
- Re: Linux kernel modules develo... Timur Tabi
- Re: Linux kernel modules development in ... Stephen Williams
- Re: Linux kernel modules developmen... Igmar Palsenberg
- Re: Linux kernel modules develo... Ralf Baechle
- Re: Linux kernel modules development in C++ Alexander Viro
- Re: Linux kernel modules development in ... Igmar Palsenberg
- Re: Linux kernel modules developmen... Alexander Viro
- Re: Linux kernel modules develo... Igmar Palsenberg

