TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Robert L. Spooner" <[log in to unmask]>
Tue, 10 Nov 1998 08:20:46 -0500
text/plain (33 lines)
Todd Coniam wrote:

> Actually, your code is directly accessible from Ada, so rewriting is not
> necessary.  Ada95 has a direct interface to Fortran (even array subscripting)
> so using existing Fortran code is no problem.  Ada's Numerics annex is
> designed to answer just the types of questions you have.  You will have to
> find a compiler that supports it, like GNAT, for your platform.  But you'd
> probably have to look for a C++ compiler too.

This is a big advantage in going to Ada rather than some other language.  With
the ease of interfacing Ada with other languages, you don't have to do everything
at once, but can move to Ada as part of your ongoing maintenance activity.

> p.s.  Sorry, I don't have any experience to pass on about interfacing to
> Fortran, I just noticed nobody else responded with it.

 I have done Fortran - Ada interfacing in the VAX/VMS and Alpha/VMS environment
and am now working on interfacing Fortran code to Ada in a 68060/VxWorks
environment and so far have found no problems.

Regards,
Bob
--
                               Robert L. Spooner
                         Registered Professional Engineer
                               Research Assistant
                         Intelligent Control Systems Group

            Applied Research Laboratory        Phone: (814) 863-4120
            The Pennsylvania State University  FAX:   (814) 863-7843
            P. O. Box 30
            State College, PA 16804-0030       [log in to unmask]

ATOM RSS1 RSS2