lkml.org 
[lkml]   [1996]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ideas
> 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



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