comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic, 561.796.8997, M/S 731-96" <condicma@PWFL.COM>
Subject: Re: Backward compatibility between Ada 95 and Ada 83
Date: 1997/10/01
Date: 1997-10-01T00:00:00+00:00	[thread overview]
Message-ID: <97100110310104@psavax.pwfl.com> (raw)


 "James H. Robinson, III" <jr3uva90@EROLS.COM> writes:
>
>I'm using an Ada 95 compiler, but my class is teaching Ada 83.  How
>backwardly compatible is Ada 95 with Ada 83?
>
    I have ported a fairly significant body of Ada83 code across to a
    different target using Ada95. I have yet to encounter an issue
    where an incompatibility was due to differences between the two
    languages.

    Here's the scoop: I've got code that is compiled on a VAX,
    targeted to an MC68040(1) using an XD-Ada 83 compiler. It's
    getting moved to a Sun workstation and compiled (with some other
    code) using the GNAT Ada95 compiler. In tribute to Ada (and the
    luck of having similar hardware architectures!) I have had zero
    problems with any language features being incompatible, miniscule
    problems relating to representation clauses, a few problems
    relating to sizes of predefined entities (Developer's advice:
    *never* use the standard Integer, Float, etc. if you think you'll
    ever have to port or change the arithmetic behavior) and the bulk
    of my problems related to the architecture of the software itself.

    Explanation: I'm grabbing a chunk of an embedded control and
    building an environment for it to run on a Sun. My problem has
    been the design of the software involves many layers of "with"
    context clauses. Package A withs B, package B withs C, etc., etc.
    So if I just want one banana, I've got to take the whole gorilla.

    But I am *very* pleased with the fact that upward compatibility
    and porting to a different machine was this easy. Almost totally
    painless.

    MDC

    (1) BTW: Has anyone out there seen a decent MC680x0 software
    emulation to run on a VAX, Sun or PC? I need to propose a
    development/testing environment and I'm shopping around for
    software simulations. If you have one or know of one, please
    e-mail me directly. Thanks.


Marin David Condic, Senior Computer Engineer     ATT:        561.796.8997
Pratt & Whitney GESP, M/S 731-96, P.O.B. 109600  Fax:        561.796.4669
West Palm Beach, FL, 33410-9600                  Internet:   CONDICMA@PWFL.COM
===============================================================================
"I saw a bank that said "24 Hour Banking", but I don't have that much time."
        --  Steven Wright
===============================================================================




             reply	other threads:[~1997-10-01  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-01  0:00 Marin David Condic, 561.796.8997, M/S 731-96 [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-10-01  0:00 Backward compatibility between Ada 95 and Ada 83 Marin David Condic, 561.796.8997, M/S 731-96
     [not found] <01bccd8e$68785d20$b229accf@default>
1997-09-30  0:00 ` W. Wesley Groleau x4923
1997-09-30  0:00 ` Samuel Tardieu
1997-09-30  0:00 ` John Herro
1997-09-30  0:00 ` Dale Stanbrough
replies disabled

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