comp.lang.ada
 help / color / mirror / Atom feed
* Re: Progress on AdaOS
@ 2001-09-02 23:02 Darren New
  2001-09-03 18:36 ` Ada OS talk (was: Progress on AdaOS) M. A. Alves
  0 siblings, 1 reply; 23+ messages in thread
From: Darren New @ 2001-09-02 23:02 UTC (permalink / raw)


David Starner wrote:
> 
> On Fri, 31 Aug 2001 20:00:07 GMT, Darren New <dnew@san.rr.com> wrote:
> > Making a strict separation like that is exactly the kind of thing that
> > causes mental impedence mismatch. It's the same kind of reasoning that
> > says "let the language deal with processes, and save threading for a
> > library." :-)
> 
> It's also the same kind of reasoning that says "let the language deal with
> text, and save XML for a library." What should go into the OS or
> language, and what should be supplied seperately is debated fiercely, but
> something's are going to have to go out, and some in.

Right. As an aside, since XML is a serialization technique, I'd leave it
to the libraries implementing the data types.

Anyway, it *would* be libraries implementing the types of files. I'm
just suggesting that serialization isn't a necessary component of a
"file", any more than you need to explicitly load and store pages for
virtual memory in modern systems.

> > On the other hand, FORTH really *does* use *only* storage elements. That
> > means no directories and no files. Your disk really is an array of
> > storage elements. Directories are the responsibility of your code. Is
> > that really what you want in a kernel?
> 
> Not having directories in the kernel tends to mean that directories aren't
> implemented in any coherant standard way.

No more than a lack of image types in a kernel means that images aren't
implemented in a coherent standard ways. FORTH simply has library
routines to handle directories.

> There are coherant standard ways
> _that are followed consistently_ in how to store data to disk, without
> it being in the kernel.

I'm not sure what this is supposed to mean. 
 
> > And
> > thinking that knowing that the "type" of the data in the file is
> > image/gif is vital, but being willing to read the file to find out of
> > it's GIF87 or GIF89 is OK too doesn't make sense to me.
> 
> Because whether it's GIF87 or 89 is a mostly irrelevant fact, and there's
> zero chance of confusing the two once you know it's a GIF file. Some thing
> much more interesting is whether it's a picture of Robert Dewar or Tucker Taft,
> but that's something no one's talked about putting in the type.

Well, my basic point there was that if you're going to have "strongly
typed files", as suggested by the original web pages, then the ability
to treat an image file as raw bits is a bad thing. The suggestion is
that a files data type cannot change without a change in content, but
this is just wrong. Certainly I can change a file's type from raw text
to HTML on most modern systems (including the Mac) without changing the
content.
 
> > I think Ada is powerful enough to have such ideas integrated seemlessly.
> 
> See, Modula-3 did have such ideas seemlessly implemented. Which raises
> two points: one, it's evidence that there's no need to do it in the
> kernel, that it can be done in the language or libraries without kernel
> help.

Well, it depends on what ideas you mean, really.

> Second, where's Modula-3 today? (Last time I checked, with one
> maintained compiler, which is a hack on an old version of gcc, and a
> nearly dead newsgroup.) If this was so important why didn't it succeed,

I never said it was important. I simply said it might be a good idea to
think about it for an AdaOS. Personally, I don't know why someone would
think an AdaOS is important simply because it's written in Ada.

> or at least the ideas get put into languages that are used? ABC also
> had persistant variables; but when Guido von Rossum made Python with
> ABC in fond memory, he didn't include persistant variables.

I think that's generally because it's hard to do with modern operating
systems. But if you're rewriting the OS from scratch, why start with the
assumption "Nobody else has done this, so we shouldn't do it either."

Anyway, nuff said.

-- 
Darren New 
San Diego, CA, USA (PST). Cryptokeys on demand.





^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2001-09-11  4:04 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.33.0109031944490.3080-100000@lagoa.niaad.liacc.up.pt>
2001-09-04  6:11 ` Ada OS talk (was: Progress on AdaOS) Robert C. Leif, Ph.D.
2001-09-02 23:02 Progress on AdaOS Darren New
2001-09-03 18:36 ` Ada OS talk (was: Progress on AdaOS) M. A. Alves
2001-09-03 18:11   ` Darren New
2001-09-03 20:12     ` M. A. Alves
2001-09-04 13:02       ` Marin David Condic
2001-09-04 14:34         ` Gary Scott
2001-09-04 19:44           ` Marin David Condic
2001-09-04 21:00             ` Gary Scott
2001-09-06 13:52               ` Marin David Condic
2001-09-04 17:13         ` Darren New
2001-09-04 18:34           ` Marin David Condic
2001-09-05  7:14           ` Ole-Hjalmar Kristensen
2001-09-04 21:28         ` David Starner
2001-09-05  5:06           ` Brian Catlin
2001-09-06 13:59           ` Marin David Condic
2001-09-06 21:00             ` David Starner
2001-09-07 14:24               ` Marin David Condic
2001-09-10  3:20                 ` Michael Garrett
2001-09-10 13:57                   ` Marin David Condic
2001-09-10 20:39                     ` Joel Sherrill
2001-09-11  4:04                       ` Michael Garrett
2001-09-10  3:55                 ` David Starner
2001-09-04 17:09       ` Darren New

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