Re: Not convincing yet (c vs c++)

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

 



You wanna port 9 million lines of kernel code and move
the C++ runtimes into the kernel then go ahead. See
you in ten years.

David Gillies
San Jose
Costa Rica

--- nix <nikhil@roc.co.in> wrote:
> Hi guys 
>            Well I read the faq and all the
> arguements but they are not 
> convinicing. They 'had' tried to make one kernel
> with c++ but it did not live 
> upto the expectations (space time drawbacks). The
> drawbacks are those of a 
> the "then" c++ compilers. the compilers must have
> been become better. There 
> is this Intel 7.0 c++ compier released which seems
> to be a competitor to the 
> Gnu's Compiler maybe with that one...(who knows).
> Conceptually c++ beats c 
> anytime, but is limited in the practicality (as
> semed in those days). Things 
> must have changed with the compiler technology and
> we must have better c++ 
> compilers now.
>          Other arguments that c code being better
> than c++ (all compiler 
> dependent and an age old myth; if anyone can prove
> this, then aggreed), many 
> c users etc, are not firmly based. So until one
> shows the advantages of a c++ 
> based kernel, c still rules. C is a subset of c++
> and even linear logic with 
> functions and structures can be used. So i dont see
> why not go for it. 
>          What ultimately matters is concepts and
> applications of concepts. why 
> simulate object oriented concept in c when c++
> already defines a clean way
> to do it. maybe the compiler is not good aggreed,
> fine. But with a farsighted 
> perspective it is only a matter of time we would
> have a vey good c++ 
> compiler. The code can still be ported, cant it? 
>           Thank you all the guys who sent me those
> links. I really appretiate 
> that. So THANK YOU.
> regards 
> nix
> --
> Kernelnewbies: Help each other learn about the Linux
> kernel.
> Archive:      
> http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux