comp.lang.ada
 help / color / mirror / Atom feed
From: Preben Randhol <randhol+news@pvv.org>
Subject: Re: Creating tempfile takes too long: GNAT or Windows bug?
Date: Thu, 10 Oct 2002 12:29:37 +0000 (UTC)
Date: 2002-10-10T12:29:37+00:00	[thread overview]
Message-ID: <slrnaqasl9.93n.randhol+news@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: ao3qhu$aj9$1@slb0.atl.mindspring.net

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



  reply	other threads:[~2002-10-10 12:29 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-09 11:58 Creating tempfile takes too long: GNAT or Windows bug? Mário Amado Alves
2002-10-09 14:15 ` BREHMER Philippe,
2002-10-09 16:43 ` tmoran
2002-10-09 17:14 ` Warren W. Gay VE3WWG
2002-10-09 18:40   ` Preben Randhol
2002-10-10 12:06     ` Marin David Condic
2002-10-10 12:29       ` Preben Randhol [this message]
2002-10-10 17:29         ` Creating tempfile takes too long: GNAT or Windows bug? (& GtkAda) Warren W. Gay VE3WWG
2002-10-10 19:43           ` Stephen Leake
2002-10-11 10:59             ` Preben Randhol
2002-10-11 10:46           ` Preben Randhol
2002-10-14 22:51             ` Warren W. Gay VE3WWG
2002-10-15 10:08               ` Preben Randhol
2002-10-11 12:00           ` Marin David Condic
2002-10-11 11:38         ` Creating tempfile takes too long: GNAT or Windows bug? Marin David Condic
2002-10-11 13:57           ` Preben Randhol
2002-10-12 13:14             ` Marin David Condic
2002-10-12 15:01               ` Preben Randhol
2002-10-10 19:44       ` Jeffrey Carter
2002-10-14 12:42         ` Simon Clubley
2002-10-10 14:02   ` Creating tempfile takes too long: GNAT or Windows bug? Solved Mário Amado Alves
2002-10-09 18:56 ` Creating tempfile takes too long: GNAT or Windows bug? Pascal Obry
2002-10-12  4:45 ` James Ross
replies disabled

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