From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b95a522100671708 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed.cgocable.net!read1.cgocable.net.POSTED!53ab2750!not-for-mail From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: For the AdaOS folks References: <1PTAd.1218$0y4.421@read1.cgocable.net> <1vemlj8wqr9ea$.qyecszhsmtqa$.dlg@40tude.net> In-Reply-To: <1vemlj8wqr9ea$.qyecszhsmtqa$.dlg@40tude.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 30 Dec 2004 11:30:35 -0500 NNTP-Posting-Host: 24.150.168.167 X-Complaints-To: abuse@cogeco.ca X-Trace: read1.cgocable.net 1104424169 24.150.168.167 (Thu, 30 Dec 2004 11:29:29 EST) NNTP-Posting-Date: Thu, 30 Dec 2004 11:29:29 EST Organization: Cogeco Cable Xref: g2news1.google.com comp.lang.ada:7330 Date: 2004-12-30T11:30:35-05:00 List-Id: Dmitry A. Kazakov wrote: > On Thu, 30 Dec 2004 08:58:23 -0500, Warren W. Gay VE3WWG wrote: >>Nick Roberts wrote: >>>However, I intend to design the microkernel so that it compromises on >>>minimality (unlike some other microkernel designs) >> >>Yes. Mach is too fat. They shouldn't have included device drivers >>for example. > > Implementations of or the generic interface for? I think the latter would > be a mistake. DOS->Windows tried this path. MS consistently refused to > specify device classes other than hard drive and keyboard. I'm not sure exactly what you're supporting here (clearly not M$), but IMHO, the device driver(s) can be written on top of the microkernel, and need to be inside it. This also helps to keep the mk small. >>>to achieve reasonable >>>efficiency (whilst removing much of unnecessary detritus that bogged down >>>experimental microkernels), and I intend to ensure that administrative >>>division of the network is fully supported, as well as network partioning >>>robustness (if some workstations go down, the rest still work). >> >>I wonder if networking really belongs in the microkernel. This is >>necessary for example if like Mach, you say that ports can speak >>to other Mach machines on the network/cluster. > > 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. >>However, you might want to take the tact that networking is done >>outside of the microkernel. This way, in situations where you don't >>want networking (embedded systems), it need not be there. > > There are lot of embedded systems which need networking, starting from > boards interconnected through dual ported RAM, to various sensors and > actors devices attached via Ethernet. I am not disputing that. But that is different than saying every embedded device needs it. So if you want to save some memory, then the first thing that can be dumped (if the option exists) is networking if you don't require it. If it is included in a given mk, it should be optional. However, IMHO, the microkernel should be small as possible, and leave networking up to the modules outside of it. After all, some may perfer an IPv6 only version of networking for example (in light of China's recent network announcment). In the end, I don't want to be "stuck" with what a brand of microkernel gives me. Just give me the basics and let me decide what is included. >>I always get scoffed at for suggesting this, and I have no love for M$, >>but the one idea they have had, which is useful, is the registry. > > It might look attractive and is definitely better than Unix chaos, So we agree that it is an improvement over little text files that you must parse/edit etc.. > but the > concept of registry is not good. Try to reformat an Windows box and restore > all settings of say MS VC back. You base your registry criticisms upon M$ _implementation_ of a registry. But consider this: If each registry item were a file (on a RieserFS so there is little or no waste), then you can backup, secure and restore settings just like any other file. You can do so with all of those familiar tools, including tar and cpio. > Registry makes program's settings a property of the local machine or user. > The problem is that tree view. It should be at least relational. But better > would to have different views. 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. -- Warren W. Gay VE3WWG http://home.cogeco.ca/~ve3wwg