lkml.org 
[lkml]   [1999]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: C++ in kernel (was Re: exception in a device driver)
Date
From

alan@lxorguk.ukuu.org.uk said:
> Been there, done that, didnt like it threw it out. There were several
> problems that came up. Firstly the resulting code was less efficient -
> that is partly the compiler but does seem to be at least fractionally
> the language - its very hard to figure out in C++ when you can avoid
> passing 'self' around for example.

<http://www.picturel.com/ucr-coots97/ucr.html>

I make the argument that (in theory) C++ can be *better* optimized then
C, or at least no worse. Poorly written C++ is considerably worse then
poorly writen C, but well written C++ can (and should) be better.

I have found, though, that EGCS is losing ground wrt C++ vs. C. A compiler
issue, not a language one.
--
Steve Williams "The woods are lovely, dark and deep.
steve@icarus.com But I have promises to keep,
steve@picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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