[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: any particular reason why c and not c++
Hi !
This has been discussed serveral times in the LKML,
you have the answer here:
http://www.tux.org/lkml/#s15-3
Cheers !
--- James Stevenson <james@stev.org> wrote: >
> Hi
>
> at least 1 reson is the number of the C++ keywords
> that are used
> in the kernel.
>
> Also C++ has a much larger overhead of C.
> And the rest of the info i belive is in the faq for
> this.
>
> On Mon, 10 Nov 2003, nix wrote:
>
> > Hi Guys
> > Well as I was going through the sources and
> it struck me that that the
> > entire kernel is an implementation of the oops
> concepts on c. The concepts of
> > inheritannce, functional and data abstraction,
> data hiding, data given a
> > priority than functions i.e data encapsulated by
> functions etc....are applied
> > in c. So why dont they convert it to c++.
> Furthermore the designing and
> > implemantation would be enhanced with the various
> uml tools available. why c
> > and not c++ i dont understand? anyway as an
> attempt to understand the kernel
> > and to investigate this question i have begun to
> modify my kernel to an
> > object oriented one(c++ wise ). if anyone has
> strong arguements on why my
> > attempt may be or may NOT be rewarding, please let
> me know.
> >
> > Regards
> > Nix
> > --
> > Kernelnewbies: Help each other learn about the
> Linux kernel.
> > Archive:
> http://mail.nl.linux.org/kernelnewbies/
> > FAQ: http://kernelnewbies.org/faq/
> >
>
> --
> Kernelnewbies: Help each other learn about the Linux
> kernel.
> Archive:
> http://mail.nl.linux.org/kernelnewbies/
> FAQ: http://kernelnewbies.org/faq/
>
________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/