comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: VMS to Unix (was: Is there a Fortran to Ada translator)
Date: 1997/02/17
Date: 1997-02-17T00:00:00+00:00	[thread overview]
Message-ID: <dewar.856189197@merv> (raw)
In-Reply-To: 5e77gh$qp4$1@salyko.cube.net


Oliver asks

<<Talking of Fortran, how come the types Fortran_Integer, Real, Complex
etc. in package Interfaces.Fortran are derived types not subtypes?

It seems to me this unnecessarily complicates integration of Fortran and
Ada code.>>


This would introduce nasty implementation dependencies, since of course
in different implementations the base types would differ, so on one
implementation you might be able to assign Fortran_Integer to Integer
without a conversion and on another you would not be able to.

The extra complication introduced by the derived types is precisely
what is needed to ensure proper portability, which is the whole idea
of this interface package.





  reply	other threads:[~1997-02-17  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-12  0:00 VMS to Unix (was: Is there a Fortran to Ada translator) W. Wesley Groleau (Wes)
1997-02-16  0:00 ` Oliver Kellogg
1997-02-17  0:00   ` Robert Dewar [this message]
1997-02-17  0:00   ` Mats Weber
1997-02-18  0:00     ` Robert Dewar
1997-02-26  0:00     ` Oliver Kellogg
replies disabled

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