[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not convincing yet (c vs c++)
Hi
ok the linux kernel has quiet a lot of code in it.
Would you like to volutee to rewrite it all in c++.
Also the language has nothing todo with object orienated
programming so therefore its not simulated in c its still object
orientatated. Its been done like this for a long time and alot of people
know how to write c in this form for drivers etc... Do you want to all of
a suden stop development to move language which none of the developers
really want to happen ? That will also have no benifits of doing in the
first place.
Infact c++ would probably make the kernel significatly biggers.
Hint look at the windows kernel and how much ram it requires to
boot in win 2k / XP. I belive its done in C++
James
On Thu, 13 Nov 2003, nix 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/
>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/