Re: Linux kernel modules development in C++

From: Tigran Aivazian (tigran@veritas.com)
Date: Wed Sep 27 2000 - 14:20:37 EST


On Wed, 27 Sep 2000, Tigran Aivazian wrote:

> Hi Abel,
>
> at the bottom of each message there is a url to lkml FAQ - have you read
> it? It should say (I haven't read it myself but it _should_, Richard you
> hear this? :) plainly that Linux (or any UNIX) kernel development in C++
> is a very bad idea and explain why. Because C++ is not yet a mature
> programming language for tasks where precise knowledge of the generated
> code is required (and probably will never be). Think of C programming (in
> the kernel) simply as an assembly programming but using compiler as a
> useful shortcut generator, instead of typing tedious (and most
> importantly, arch-dependent!) sequences of instructions. Just a way to
> save time, and still remain in total control of what the resulting code
> will do and precisely how it will do it.

just in case - I did intentionally omit the exception handling and garbage
collection things (and many other) as "obvious", i.e. just more reasons
why one should _not_ use C++ in the kernel.

Regards,
Tigran

-
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:20 EST