lkml.org 
[lkml]   [2000]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux kernel modules development in C++

> > - 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.620 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site