From: Preben Randhol <randhol+news@pvv.org>
Subject: Re: Creating tempfile takes too long: GNAT or Windows bug?
Date: Sat, 12 Oct 2002 15:01:21 +0000 (UTC)
Date: 2002-10-12T15:01:21+00:00 [thread overview]
Message-ID: <slrnaqge9l.3fv.randhol+news@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: ao979m$blc$1@slb2.atl.mindspring.net
Marin David Condic wrote:
> I was thinking more along the linds of this: "I have a c compiler. My OS is
> written in C. The C function interfaces are sitting right there. Hack a
> program to make an OS call or two..." That as opposed to: "I have an Ada
> compiler. My OS is written in C. I've got to play around with building a
> binding to whatever it is I need from the OS or at least use some binding
> that may be there and is "unnatural" for Ada (can't just use strings and
> integers and such - got to go create pointers and things from Interfaces.C).
> It becomes more work, so why didn't I just hack the little job in C?"
But if one has Gnat (which is freely available) the bindings you needed
in this case were available. So no problem :-)
> It may not be a far stretch to hack a lot of things in Ada - I've done it
> enough times myself. I'm just observing that people have a tendency to go
> down the path of least resistance and if everything surrounding you is C,
> its less likely that the job is going to be done in Ada.
Well I find it easier and faster to hack things with Ada. Even using
strings is easier.
> Note that this works two ways - if the OS and everything surrounding it is
> in Ada, it would be less likely one would end up doing things in C, right?
> ;-)
:-) Hope so.
>
> I suppose, but if you had the Gnat code, chances are you have Gnat so why
> would you be using another compiler? Its not so much an issue of a portable
> library for Ada and no insistance on a portable library for C. Its more a
> case of observing that when the surrounding environment is done with a given
> language, it tends to promote use of that language. Although, to whatever
> extend Ada can provide a portable library of things to interface to the
> native OS, the better off it is, I think.
Yes, I understand, but still...
Preben
--
Ada95 is good for you.
http://libre.act-europe.fr/Software_Matters/02-C_pitfalls.pdf
next prev parent reply other threads:[~2002-10-12 15:01 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
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 [this message]
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