comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier@fakeaddress.nil>
Subject: Re: Interested about number crunching in Ada
Date: Fri, 17 Aug 2007 09:24:56 +0200
Date: 2007-08-17T09:24:56+02:00	[thread overview]
Message-ID: <46c54d1a$1_5@news.bluewin.ch> (raw)
In-Reply-To: <rI9xi.40141$ax1.20593@bgtnsc05-news.ops.worldnet.att.net>

anon wrote:

> As for F2A: 
> 
> Language converts are nice but in the GNU series they may add useless 
> code because of the number of steps take to convert the code from the 
> source to object code.
> 
> An example:

..

>    GNAT  -- to --> C then using GCC -- to --> asm 
>             asm then using GCC -- to --> object

<<In no sense does GNAT translate your Ada code into C code.>>
Robert Dewar
Ada Core Technologies (found in groups.google.com)

>    F2A -- to --> Ada then using GNAT -- to --> C
>             C using GCC -- to --> asm 
>             asm then using GCC -- to --> object

- The "step" asm to machine code in the object is trivial, asm is just a
human-readable writing for the machine code; no transformation there.
- The GNAT-to-C exists only in your imagination.
- F2A is not a Fortran preprocessor for using Ada as the back end; you use it
once and forget the Fortran code, and continue developing the Ada source.
At the end, you have one step. Sorry...

As for I/O, apart the LOW_LEVEL_IO you mention (never seen before!), the usual 
Text_IO, Direct_IO, Sequential_IO are perfectly compatible from Ada 83 through 
Ada 2005. Ada 95's Stream_IO works in Ada 2005 (would you expect the reverse 
?). Conversely, a SGI Fortran has slightly different I/O than a Lahey Fortran 
and DEC/HP Fortran is still a bit different on that point. The situation is 
just the reverse that you imagine.

As for HP Ada, I don't care about politics, only about performance :-).
______________________________________________________________
Gautier         -- http://www.mysunrise.ch/users/gdm/index.htm
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!



  reply	other threads:[~2007-08-17  7:24 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-16  3:42 Interested about number crunching in Ada holst
2007-08-16  6:43 ` Nasser Abbasi
2007-08-16  9:16   ` Colin Paul Gloster
2007-08-17  9:43   ` Jerry
2007-08-16 11:17 ` anon
2007-08-16 18:59   ` Gautier
2007-08-17  4:44     ` anon
2007-08-17  7:24       ` Gautier [this message]
2007-08-17 23:42         ` anon
2007-08-18 11:22           ` Gautier
2007-08-18 11:40           ` Markus E.L. 2
2007-08-20 22:31             ` To Markus anon
2007-08-17  8:23       ` Interested about number crunching in Ada Markus E.L. 2
2007-08-17  9:01       ` Stuart
2007-08-17  9:39         ` Martin Krischik
2007-08-18  0:47         ` anon
2007-08-18 11:58           ` Markus E.L. 2
2007-08-19  6:43             ` anon
2007-08-19 16:14               ` Markus E.L. 2
2007-08-19 16:23               ` Markus E.L. 2
2007-08-20  8:46           ` Stuart
2007-08-21  1:06             ` Randy Brukardt
2007-08-21  1:28             ` Gary Scott
2007-08-21  8:14               ` History of Ada - was " Stuart
2007-08-22  7:13                 ` anon
2007-08-23 11:24                   ` Stuart
2007-08-23 21:51                     ` Gautier
2007-08-24 13:04                       ` History of Ada - and about the NYU DOS version anon
2007-08-24 16:25                         ` Georg Bauhaus
2007-08-25 11:49                           ` History of Ada - to answer your question anon
2007-11-02 13:51                         ` History of Ada - and about the NYU DOS version adaworks
2007-08-17  1:24   ` Interested about number crunching in Ada Gary Scott
2007-08-16 22:55 ` Jerry
2007-08-17  9:21 ` Nasser Abbasi
2007-08-17  9:52   ` Jerry
2007-08-17 14:35     ` Gautier
replies disabled

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