Re: ideas

Hasdi R Hashim (hasdi@umich.edu)
Sun, 5 May 1996 10:37:23 -0400 (EDT)


> 3. Use the features in C++ that will allow a more stable kernel
>
> Okay here is where i am going to get the developers mad at me. How about
> converting parts of linux to use C++,

[snip - better C programming]

> Also we could use C++ streams type functions to implement printk calls. I
> wonder how many drivers have been broken by stack corruption, by incorrect
> params in printk calls. Variable argument function calls are inherently
> slower then fixed argument calls.

Hmm... that beats the purpose of printk. It was to designed to be small
(smaller than printf). 'sides, using C++ streams and any other classes
for that matter tend to bloat up the kernel ever more (as if it has not
already)

Hasdi