Re: Compiling C++ modules

Sergei Organov
2006-04-28T11:27:40Z

Avi Kivity <avi@argo.co.il> 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.