lkml.org 
[lkml]   [2004]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: A Layered Kernel: Proposal

> But the idea that the kernel should exist as a kind of onion,
> depicted by child college professors in their children's coloring
> books is wrong. The optimum operating system will always be the
> one that performs its functions in the most expedient way, not
> the one that is the "prettiest" or easiest to understand. There
> can't be any such thing as a "layering violation".

Hm.

I won't agree. In my 25 years of programming, I am yet to see a case whe
ugly, "write-only" code performed well. And the cases when "pretty"
code has performed badly were rather rare.

Isolation and layering have already proved themselves a lot. If not so,
Unix would be dead, and we would be using now Multics or another similar
OS. Also, Windows would be immesurably superior to any Unix in existence,
especially in performance...

> Layering is wrong. However modularizing, although it may
> have some negative effects, has many redeeming values. It
> allows for the removal of dead code, code that will never
> function in a particular system.

I won't agree here, too. Dead code can be removed perfectly well from a
big kernel, too - maybe even easier. With a modular approach, you may
exclude certain module from your modules list, but I won't call that
removal of dead code.

Also, (logical) layering and modularizing do not contradict - they are
practically independent. I apologize for not being able to see the point
here.



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

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