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: a07f3367d7,31af760e939556ef X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Interpretation of extensions different from Unix/Linux? Date: Wed, 05 Aug 2009 17:33:05 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <8a5f3b98-1c5a-4d47-aca7-e106d1223fa9@a26g2000yqn.googlegroups.com> <87skg7952j.fsf@jspa-nykredit.sparre-andersen.dk> <1c74a5dz9g9da.lans6egr300k$.dlg@40tude.net> <12bdnfm30q640.ccnr6odf6jlm$.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1249507985 15572 192.74.137.71 (5 Aug 2009 21:33:05 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 5 Aug 2009 21:33:05 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:siGohBrPoJenPms2Q3RravcTJzs= Xref: g2news2.google.com comp.lang.ada:7613 Date: 2009-08-05T17:33:05-04:00 List-Id: "Jeffrey R. Carter" writes: > Dmitry A. Kazakov wrote: >> A memory-mapped container with a tree structure? Consider it done! > > It seems to lack persistence, one of the defining features of file systems. There's no persistence requirement in the RM. On an embedded system, it might be perfectly reasonable for files to vanish on program termination, or on power-off. Such behavior would be a horrible bug for an Ada implementation on Unix or Windows -- but it would still conform to the RM. There's also RM-1.1.3(6). Just because some embedded systems don't have file systems, doesn't mean we shouldn't have portable I/O packages (including directories) in the language. I mean, portable to the popular non-embedded operating systems that exist today, not necessarily portable to any imaginable OS. Common Lisp has a pretty reasonable abstraction for dealing with path names and directories and whatnot. - Bob