lkml.org 
[lkml]   [2000]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Linux kernel modules development in C++
Date
But but but.. wasn't the very first C++ compilers really just a preprocessor
into standard C?

I went to a advanced C course, a year or so ago, and the guy showed us how
to write OO code in C that went a little beyond everyday encapsulation. At
the end, he told us that that was the type of code that the old C++
preprocessors used to output.

Justin.

> -----Original Message-----
>
> > > Nothing. What I was saying if you want some OO language in the kernel,
> C++
> > > is the only option I guess. Mixing languages is a pain..
> >
> > There is no such thing as "OO language". There is OO style and there are
> > ways to use it when you are writing in almost any language. And OO in C
> is
> > not harder than OO in C++, provided that you are not trying to write in
> > C++ and translate line-by-line into 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/

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