Re: Linux kernel modules development in C++

From: Alexander Viro (viro@math.psu.edu)
Date: Wed Sep 27 2000 - 18:06:03 EST


On Thu, 28 Sep 2000, Igmar Palsenberg wrote:

> Some arguments why not to use it in the kernel :
>
> - C++ gives overhead. With something like a kernel that's unwanted.
> - Things like exception handling is hard to do in a kernel.
> - The're a lot more people that know C than C++
>
> And I probably forgot a few :)

Yep.
 - OO != C++. It's a style of programming and while you can do OO in C++
   you can easily do it in other languages (or do non-OO in C++, indeed)
 - A _lot_ of the kernel code/design is inherently object-oriented. So
   pardon our collective scepticism when YAC++Advocate comes along waving
   the "OO ergo C++" underw^Wflag

-
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/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:21 EST