[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: any particular reason why c and not c++



you may like to read kernel faq where Linus gives reasons why not use 
c++ instead of C.. sorry dont want to start a war on this..just a comment...
Nope I dont have any strong argument.. but once you start doing it 
*maybe* you will realise it

Thanks
Dp


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/