[lkml]   [2002]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: C++ and the kernel
From: "T. A." <>

> Who the heck said anything about rewriting the kernel? I'm just looking
> into coding a C++ framework for those whom may like to use it in modules,
> mostly for hack value.

May I humbly suggest that this list is not a good place for this discussion.
Attitudes are quite ossified for many good reasons and probably a few bad
reasons. Take a reasonably cleanly functioning kernel as a tool and develop
a fully C++ kernel. Try it out. Benchmark it for size and speed. Report back
comparisons with its original base.

You are sounding like a little boy who has found a new toy. Over 40 years of
experience suggests the proper way to handle this is to let the person have
his head, and in the corporate world some IR&D funds, to develop a project
that uses the idea and report back in detail how it worked out. If it succeeds
the company or group wins. If it fails it managed to stay out of your product
stream, for as sure as the Sun generally rises roughly in the East it WILL
find its way into something as the person's way of finding out for himself if
it works.

This is an issue that has caused this list a significant amount of distraction
over the years. Maybe it would be a really good thing to develop numbers and
data to either support it or shoot it down. The cant of a Computer Science
cirrocumuli often fails when the rubber meets the road. This may and may not
be such. I trust the kernel maintainers' instincts in this regard. Old age
and experience will beat youth and enthusiasm any day in the long run.

So take a team with you, select a dictator or leader or whatever, and simply
make a rigid translation of a kernel snapshot to C++ without adding any new
functionality. Let us all watch the progress, say on SourceForge or the like.
And report back when it is all done. You may be right that it is something
that is worth doing. But, unless you can show in very hard data that there is
a real advantage to C++ in the kernel Linus will simply reject it with the
full support of the rest of his crew.

FWIW, Microsoft does not use C++ in their kernel.

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 13:25    [W:0.071 / U:7.556 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site