[lkml]   [2004]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: What if?
Jan Engelhardt <> said:
> Imanpreet Singh Arora <> said:
> > Firstly I have read the FAQ. So though FAQ answers my question, it
> >does so only partially.
> >
> > "What if Linux were to be implemented in C++?"

> To quota Alan Cox (IIRC): "Been there, done that, threw it out".

Not really. There was support to compile Linux using g++ for a C compiler
some time back (because of better (at the time) type checking), the result
was horrible (mainly due to compiler bugs, IIRC). The gain wasn't near
worth the pain.

Rewriting Linux in C++ means fundamental redesign(s); as mentioned, the VFS
would become a class, as would the driver interfaces, and much more. The
object model inside Linux is sufficiently different from C++'s that it
would be a _huge_ job. And pointless, you'd just get Linux as it stands
today, and loose many current developers (due to unfamiliarity with C++).
Dr. Horst H. von Brand User #22616
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:08    [W:0.093 / U:5.352 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site