lkml.org 
[lkml]   [2000]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Criticism]C++ Flamewar
Date
didn't say I wanted to do it, just that it could be done.

my point was that a god-awful 365 message flamewar was unnecessary, and
removing C++ keywords from system headers is not that big a deal.



On Mon, 16 Oct 2000, Keith Owens wrote:
> On Mon, 16 Oct 2000 08:50:24 -0400,
> Mark Salisbury <mbs@mc.com> wrote:
> >the original-original post was somebody asking why not make the kernel headers
> >C++ friendly.
> >all he wanted was the c++ reserved words removed from / kept out of the headers.
> >that way, if they for some reason want to write, or maybe proto a MODULE in c++
> >they could. no reference to putting C++ in the kernel, just writing a module
> >in it. to me this means that the MODULE would have to be linked w/ libg++
> >_NOT_ the kernel.
>
> Interesting concept, linking a module with libg++. Would that be a
> dynamic or static link?
>
> If it is dynamic then you can absolutely forget about loading the
> module into the kernel, there is no way that modutils will ever support
> that. If it is a static link then every module has its own private
> copy of libg++, that would introduce more than a little kernel bloat.
> How big is a static copy of libg++ these days? The thought of two or
> more modules each with a static copy of libg++ but running in the same
> kernel address space gives me the shivers.
>
> So even if you can compile a module with C++ headers and link against
> libg++, it is extremely unlikely that you could load it. If you cannot
> load it, why bother compiling it with C++?
>
> -
> 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/
--
/*------------------------------------------------**
** Mark Salisbury | Mercury Computer Systems **
** mbs@mc.com | System OS - Kernel Team **
**------------------------------------------------**
** "WYGIWYD - What You Get Is What You Deserve" **
**------------------------------------------------*/


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

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.072 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site