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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3689d3c938c589e5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-22 08:49:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!news-in-sanjose!dfw-feed.news.verio.net!dfw-peer.news.verio.net!news.verio.net!sjc-read.news.verio.net.POSTED!not-for-mail Newsgroups: comp.lang.ada From: Brian Rogoff Subject: Re: Directory listings and path names In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue, 22 Jan 2002 16:50:37 GMT NNTP-Posting-Host: 192.220.65.223 X-Complaints-To: abuse@verio.net X-Trace: sjc-read.news.verio.net 1011718237 192.220.65.223 (Tue, 22 Jan 2002 16:50:37 GMT) NNTP-Posting-Date: Tue, 22 Jan 2002 16:50:37 GMT Organization: Verio Xref: archiver1.google.com comp.lang.ada:19184 Date: 2002-01-22T16:50:37+00:00 List-Id: On 22 Jan 2002, Stephen Leake wrote: > Brian Rogoff writes: > > > Surely, we can find many OSes which provide no tasking, some tasking, > > sophisticated tasking, etc. I subscribe to the view that what goes in > > a language versus what goes in an OS is rather arbitrary. The same is > > true for language and library. Library design is language design. > > I don't think this is true. The tasking constructs in Ada _cannot_ be > provided by an Ada package; they require compiler support. Thus they > are fundamentally different from directory operations, which clearly > _can_ be provided by a package. Right, I was misleading. My point was simply that the services that an OS provides are not fixed in stone, so arguing that one thing or another is a language feature or an OS feature is pointless. The languages designers should simply decide what goes into the language. In any case, believe it or not, lots of people do concurrent programming in languages without built-in tasking, and rely on library packages to provide that support. > This is separate from the question of whether a directory/file > operations package should be part of the standard. I agree it would be > nice, also hard. Perhaps a good compromise would be for all the Ada > vendors to support the Florist POSIX bindings, on OS's where that is > not too hard. I think it would be very nice, and not too hard. The Python model works well enough. Besides, Ada has this wonderful package mechanism, why not use it to standardize bindings to Unix, Windows, Mac, VMS (see Larry, I didn't forget you ;), etc? This being 2002, I expect any practical programming language to have a built-in way to do this. I admit, I'm Unix/Windows centric. However, the competition is tough, and we're really talking about very basic functionality that is not being provided. -- Brian