Re: Linux kernel modules development in C++

From: Ralf Baechle (ralf@uni-koblenz.de)
Date: Tue Oct 03 2000 - 06:49:25 EST


On Thu, Sep 28, 2000 at 12:11:56PM +0200, Igmar Palsenberg wrote:

> > I don't want to take a position on the matter of C vs. C++ in the Linux
> > kernel. However, I *have* done some realistic work to show that C++ does
> > not inherently introduce bloat. (I do my embedded work in C++.)
> >
> > <http://www.picturel.com/ucr-coots97/ur.html>
> >
> > Of course, I write my Linux drivers (and GIMP plug-ins) in C, not C++, and
> > that's fine, too. I'm just glad it's not Scheme:-)
>
> Compilers tend to get better.. Luckely. It was giving overhead in the
> generated asm a year ago. No idea what it is now.

Face it, gcc's code generator is years back compared to some of the commercial
competitors. Writing fast code with gcc still requires you to think
assembler and write C ... I'm still depressed who bad gcc looks at times
when comparing it to some almost _ten_ year old compilers ...

  Ralf
-
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 Oct 07 2000 - 21:00:11 EST