Re: Compiling C++ modules

From: Sergei Organov
Date: Fri Apr 28 2006 - 07:27:23 EST


Avi Kivity <avi@xxxxxxxxxx> writes:

> Avi Kivity wrote:
>>
>> Kernels of other operating systems (Windows, AIX (?)) allow C++. And
>> don't start about Windows crashing whenever you sneeze at it - it's
>> so 1998.
>>
>
> Oh, and it looks like some guy even wrote a kernel [1] in C++! Lucky
> we don't have people like that working on Linux.
>
> [1] http://www.zipworld.com.au/~akpm/#rtos

FYI, the core of another, more widely used open-source RTOS, eCos [2],
is written in C++ as well though it supports C for drivers development
and its public interface is C wrapper around the C++ core.

On the other hand, I think I do understand Linux hackers` worries about
C++ leaking into the Linux kernel. For many supporting C++, even in the
modules only, is only slightly different from supporting binary drivers,
I guess. That could be in fact very serious problem, I'm afraid.

[2] <http://ecos.sourceware.org/>

--
Sergei.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/