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,41b2c090403fab50 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-10 05:29:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Creating tempfile takes too long: GNAT or Windows bug? Date: Thu, 10 Oct 2002 12:29:37 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <4a4de33a.0210090358.fc50c13@posting.google.com> <3DA463E8.1080202@cogeco.ca> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1034252977 22857 129.241.83.78 (10 Oct 2002 12:29:37 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 10 Oct 2002 12:29:37 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:29653 Date: 2002-10-10T12:29:37+00:00 List-Id: Marin David Condic wrote: > Probably because its quicker and easier to use OS calls with C because the > OS is written in C. Dipping into an Ada binding to access C stuff always In Gnat.OS_Lib function File_Time_Stamp (Name : String) return OS_Time; -- Given the name of a file, Name, obtains and returns the time stamp. -- This function can be used for an unopend file. procedure Delete_File (Name : String; Success : out Boolean); :-) > feels like an unnatural act and invariably complicates the job. Just another > data point indicating it would be useful to have an Ada OS and that the > argument "Well, you can always bind to blah blah blah..." is seldom > compelling. :-) Well if you drag the argument further you might end up with "why use Ada at all?". Preben who thinks making hacks in Ada is just as fast or faster than C -- Ada95 is good for you. http://libre.act-europe.fr/Software_Matters/02-C_pitfalls.pdf