comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: For the AdaOS folks
Date: Fri, 31 Dec 2004 13:31:34 +0100
Date: 2004-12-31T13:31:34+01:00	[thread overview]
Message-ID: <rnpnk8lhy0dy$.1m9qo6kbu5art$.dlg@40tude.net> (raw)
In-Reply-To: KKaBd.3134$0y4.3044@read1.cgocable.net

On Fri, 31 Dec 2004 06:30:51 -0500, Warren W. Gay VE3WWG wrote:

> The problem then is that the drivers add to the code in "real-mode",
> which is one thing that the mk tries to avoid (for additional safety
> and modularity).

I am still not sure what you mean here. If you mean modular kernel design
and more fine-grained system of modes than all-or-nothing, then yes, sure.
There is no reason, why a driver should not be treated as an application. 

>>>>That is an interesting question. I think that the kernel should be able to
>>>>tunnel its requests through higher order protocols.
>>>
>>>Yes, they can be provided on top of the microkernel, as you seem to
>>>be suggesting.
>> 
>> Yes, but networking should be known to the kernel as something it can work
>> with. So you cannot completely throw it away.
> 
> The kernel only needs to be able to provide "hooks". It is the
> user land OS modules that neeed the networking, not the mk. This
> discussion is basically a disagreement on "core functionality"
> for the mk. I just don't see networking as being "core", IMO.

But how could it become distributed? That "hook" should be there. An
implementation could be a module, no problem, but all system objects,
synchronization mechanisms, queues etc, should be designed in a way that
would allow distributed behavior (no matter would it be local symmetric, in
a cluster, random networking). This is what I would define as "true"
networking. From this perspective neither Windows nor Unix are networking.

> I view "impossible" as a strong word. It may have been true
> with certain kinds of constraints imposed upon you that
> it was impossible, but I have trouble generally accepting
> "immpossible", if enough time and effort is permitted.

Of course.
 
>> The problem is not an ability to backup, in UNIX one can backup /etc, /var
>> ... The problem is complexity. There are dependencies between repository
>> objects, which cannot be mapped to a simple tree structure, whether that be
>> chaotic files or registry. 
> 
> This is a different problem (complexity). No amount of registry/
> database/repository design is going to change that for you. You
> have complexity because of the applications -- not because of the
> registry. At best, you might organize away some of the complexity,
> but storage of registry values and the complexity of the same
> are two different problem domains.

Right, but if registry does not help much you to organize, and it does not,
then it means that registry provides too low abstraction level. Technically
it is the same level of abstraction as raw files. So you cannot get here
much more support than from a file hierarchy. It only adds a bit type
safety (one can query the type of a key). This means that registry is
unsuitable to serve as an interface for any complex object persistence, as
carrier, yes, as an interface no.

> My point is simply that programs (including installers), need a
> programmatic way of testing what is installed etc. on a system.

Yes, but I would formulate it in more general way:

1. object persistence (must be)
2. object containers. An application can be viewed as a container for its
"mortal" instances and "immortal" persistent data. 

> This is impractical with little text files, all in different
> formats. The registry approach is a very practical solution
> to this problem.

The very first tiny step, in my view.

>> Consider a simple diamond diagram. Application A
>> uses B and C, they in turn use D. This cannot be represented by a tree. So
>> you need a folder to keep them all. Let's name it "/etc". Welcome to back
>> to chaos.
> 
> I don't see any unsolvable problem here. Links and symlinks can
> create any kind of network you need.

Compare it with a network of pointers in C (memory~files, pointers~links).
Not an unsolvable problem, right, but...

>>>I don't believe it need be treated any differently than a file
>>>system. To support a registry on the RieserFS for example, one
>>>merely need to add a nice programming API to make it easier for
>>>programs to query and set values. You can still use links/symlinks
>>>(if you must) etc.
>> 
>> In my view there should be no file systems at all. OS should be fully
>> memory-mapped with persistent objects. A FS would be just a "low-level"
>> format then. (Kind of data base discussion again! (:-))
> 
> All it becomes is just different terminology, but you'll still have
> similar levels of abstraction (short-term memory vs long-term etc.
> for example).

Yes, but I do not want to expose it in API. It is comparable with evolution
of programming languages: from assemble with clear distinction between
registers and memory, modern languages which hide it. Caching should be
OS's business, down with files and I/O!

> In the meantime, file systems provide a very useful
> solution as a hierarchical database ;-)

(:-))

Happy New Year!

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2004-12-31 12:31 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27  5:09 For the AdaOS folks Wes Groleau
2004-12-27 10:56 ` Florian Weimer
2004-12-27 12:50   ` Georg Bauhaus
2004-12-27 13:12     ` Florian Weimer
2004-12-28  1:18   ` Wes Groleau
2004-12-27 13:46 ` Adrien Plisson
2004-12-27 16:28   ` Georg Bauhaus
2004-12-28  6:19   ` Microkernels & Ada (Was for the AdaOS folks) Warren W. Gay VE3WWG
2004-12-28 12:02     ` Adrien Plisson
2004-12-28 15:28       ` Warren W. Gay VE3WWG
2004-12-30  1:19 ` For the AdaOS folks Nick Roberts
2004-12-30 13:58   ` Warren W. Gay VE3WWG
2004-12-30 15:27     ` Dmitry A. Kazakov
2004-12-30 16:30       ` Warren W. Gay VE3WWG
     [not found]         ` <otb8t09dkjh54e1k5s5ccn23ggkqk6ndui@4ax.com>
2004-12-30 19:06           ` OT: Mach Ports (For the AdaOS folks) Warren W. Gay VE3WWG
2004-12-31 10:03         ` For the AdaOS folks Dmitry A. Kazakov
2004-12-31 11:30           ` Warren W. Gay VE3WWG
2004-12-31 12:31             ` Dmitry A. Kazakov [this message]
2004-12-31 16:24               ` Warren W. Gay VE3WWG
2004-12-31 17:57                 ` Marven Lee
2004-12-31 18:40                   ` Warren W. Gay VE3WWG
2004-12-31 19:22                     ` Warren W. Gay VE3WWG
2005-01-02 15:09                     ` Marven Lee
2005-01-02 20:06                       ` Luke A. Guest
2005-01-03  3:13                         ` Warren W. Gay VE3WWG
2005-01-03  6:40                           ` Luke A. Guest
2005-01-03 10:30                             ` Marven Lee
2005-01-03 15:52                             ` Warren W. Gay VE3WWG
2005-01-03 16:48                           ` Ad Buijsen
2005-01-03 18:49                             ` Warren W. Gay VE3WWG
2005-01-03 13:43                         ` Marven Lee
2005-01-04 23:36                         ` Nick Roberts
2005-01-03 16:22                       ` Warren W. Gay VE3WWG
2005-01-04 23:16                       ` Nick Roberts
2005-01-05  3:48                         ` Warren W. Gay VE3WWG
2005-01-05 13:14                           ` Nick Roberts
2005-01-01 12:53                 ` Dmitry A. Kazakov
2005-01-02  0:31                   ` Warren W. Gay VE3WWG
2005-01-02 11:50                     ` Dmitry A. Kazakov
2005-01-02 22:04                       ` Warren W. Gay VE3WWG
2005-01-03 10:30                         ` Dmitry A. Kazakov
2005-01-03 16:36                           ` Warren W. Gay VE3WWG
2005-01-03 17:05                             ` Dmitry A. Kazakov
2005-01-03 19:01                               ` Warren W. Gay VE3WWG
2005-01-03 19:55                                 ` Dmitry A. Kazakov
2005-01-03 20:44                                   ` Warren W. Gay VE3WWG
2005-01-04  0:02                                     ` Randy Brukardt
2005-01-04 17:44                                       ` Warren W. Gay VE3WWG
2005-01-04 20:14                                         ` Nick Roberts
2005-01-04  9:59                                     ` Dmitry A. Kazakov
2005-01-04 18:00                                       ` Warren W. Gay VE3WWG
2005-01-04 19:07                                         ` Dmitry A. Kazakov
2005-01-04 19:57                                           ` Warren W. Gay VE3WWG
2005-01-05  0:02                                             ` Nick Roberts
2005-01-05  4:37                                               ` Warren W. Gay VE3WWG
2005-01-05 18:54                                                 ` Nick Roberts
2005-01-05 20:04                                                   ` Warren W. Gay VE3WWG
2005-01-06  0:32                                                     ` Nick Roberts
2005-01-06  1:29                                                   ` Wes Groleau
2005-01-06 11:03                                                     ` Dmitry A. Kazakov
2005-01-05  9:39                                             ` Dmitry A. Kazakov
2005-01-05 11:20                                               ` Warren W. Gay VE3WWG
2005-01-05 12:18                                                 ` Dmitry A. Kazakov
2005-01-05 14:39                                                   ` Warren W. Gay VE3WWG
2005-01-05 17:16                                                     ` zest_fien
2005-01-05 19:44                                                       ` Larry Kilgallen
2005-01-04 20:09           ` Nick Roberts
2005-01-05 10:19             ` Dmitry A. Kazakov
2005-01-05 18:33               ` Nick Roberts
2005-01-05 20:15                 ` Dmitry A. Kazakov
2004-12-31 18:47     ` Nick Roberts
2004-12-31 20:36       ` Warren W. Gay VE3WWG
2005-01-04 18:22         ` Nick Roberts
2005-01-05  5:12           ` Warren W. Gay VE3WWG
2005-01-05 18:02             ` Nick Roberts
2005-01-05 19:55               ` Warren W. Gay VE3WWG
2005-01-06  0:57                 ` Nick Roberts
2005-01-06  2:34                   ` Warren W. Gay VE3WWG
  -- strict thread matches above, loose matches on Subject: below --
2005-01-05 12:14 Mike Brenner
2005-01-05 18:04 ` Warren W. Gay VE3WWG
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox