Messages in this thread | | | Subject | Re: C++ in kernel (was Re: exception in a device driver) | Date | Thu, 07 Jan 1999 19:21:23 -0800 | From | Stephen Williams <> |
| |
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/
| |