lkml.org 
[lkml]   [2000]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux kernel modules development in C++
Date
From
Marty Fouts <marty@dotcast.com> said:
> From: Horst von Brand [mailto:vonbrand@inf.utfsm.cl]

> [snip]

> > When Linux started, there was _no_ decent freeware C++
> > compiler around.

> IMO, it was worse even than that. C++ itself hadn't stablized as a language
> to the point where it would have been wise to use on a kernel at that
> time.

Exactly what I said...

> The language only really stablized in '99, I think. It's too soon to tell
> whether it would be usable for kernel development, although various projects
> that have tried to use it in an OO way have floundered for one reason or
> another.

Nope. C++ (the language) was rather stable in '96 or so, but by then it was
too late for Linux.

> BTW, C++ isn't really a pure OO language, it is a language that has
> facilities that support a wide range of programming paradigms. One of the
> things that makes it hard to use effectively is taking that into account
> when using its various facilities.

I'd suspect the projects that floundered did so because of this. C++ is a
wonderful tool, but I can't claim to know even one person that _really_
knows how to use it right. Most "OO" development is simply C + << + >> + a
few structs sold as classes (remember "FORTRAN with ';'" when Pascal came
out?), it will still take quite a while until people are confortable with
OO (even worse multiparadigm programming (MP? Nice buzzword ;-) as in C++
for that matter), and until then the language's facilities are a burden by
and large.
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:4.470 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site