Re: kbuild & C++

From: Esben Nielsen
Date: Wed Sep 07 2005 - 05:46:25 EST


On Wed, 7 Sep 2005 Valdis.Kletnieks@xxxxxx wrote:

> On Wed, 07 Sep 2005 11:13:24 +0200, "Budde, Marco" said:
>
> > E.g. in my case the Windows source code has got more than 10 MB.
> > Nobody will convert such an amount of code from C++ to C.
> > This would take years.
>
> Do you have any *serious* intent to drop 10 *megabytes* worth of driver
> into the kernel??? (Hint - *everything* in drivers/net/wireless *totals*
> to only 2.7M).
>

For a special perpose embedded application, doing it all in kernel space
would be the first, effective hack.

> A Linux device driver isn't the same thing as a Windows device driver - much of
> a Windows driver is considered "userspace" on Linux, and you're free to do that
> in C++ if you want.
>

Yes, moving stuff to user-space would be the way to go - unless it kills
performance!

Esben

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