comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Ada Annex E (Just curious :-)
Date: Wed, 7 Mar 2001 12:02:48 -0600
Date: 2001-03-07T12:02:48-06:00	[thread overview]
Message-ID: <_Mup6.4125$7e6.1607402@homer.alpha.net> (raw)
In-Reply-To: 985hgg$hqu$1@nh.pace.co.uk

Marin David Condic wrote in message <985hgg$hqu$1@nh.pace.co.uk>...
>
>
>"Robert A Duff" <bobduff@world.std.com> wrote in message
>news:wccg0gqqzvc.fsf@world.std.com...
>> A major goal of Annex E is to allow the user of a compiler, or a
third
>> party, to provide the (low-level) communications software, *without*
>> modifying the compiler.  The compiler provides
marshalling/unmarshalling
>> of data structures and so forth, and there's a well-defined interface
to
>> the communications software, so you should be able to plug in your
own,
>> and still get RPC.  Is there some way in which this goal is not
>> achieved?
>>
>Well, this is, of course, going to be implementation dependent. I could
>imagine a well designed compiler providing a well documented
programming
>interface so that the embedded developer had to build some
>packages/subprograms & link with the compiler's runtime and - "then a
>miracle occurs" - and you're off and running with RPC's, etc.

No, no, no. Annex E provides a standard package for all of that stuff
(see E.5), the compiler is required to allow the user to change that
package (and the ACATS tests do exactly that).

So it had better be implementation-independent.

>But you've still got potential problems because you may have different
>compilers for the different processors. They may not do things quite
the
>same way, so you aren't necessarily going to be able to get the code
from
>one compiler to RPC code from the other. The situation with simple data
>accesses is similar.


It is true that marshalling and unmarshalling can be a problem. That
usually can be handled with overrides to 'Read and 'Write. (Indeed, that
is a major reason that they can be overridden).

                Randy.






  reply	other threads:[~2001-03-07 18:02 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <yJSm6.8482$X_2.140961@news1.oke.nextra.no>
2001-02-28 13:28 ` Ada Annex E (Just curious :-) Marc A. Criley
2001-03-01 17:33   ` Frank
2001-03-02 17:42     ` Robert Spooner
     [not found]       ` <x7vu25bcl22.fsf@smaug.pushface.org>
2001-03-05 19:26         ` Robert Spooner
2001-03-02  9:38 ` Pascal Obry
2001-03-04 19:12   ` Dr Adrian Wrigley
2001-03-05 14:56     ` Ted Dennison
2001-03-05 16:24       ` Marin David Condic
2001-03-06  1:24         ` Dr Adrian Wrigley
2001-03-06 14:51           ` Ted Dennison
2001-03-06 15:23             ` Marin David Condic
2001-03-06 18:42               ` Kevin Rigotti
2001-03-06 20:56                 ` Marin David Condic
2001-03-06 22:47                   ` Robert A Duff
2001-03-07 14:43                     ` Marin David Condic
2001-03-07 18:02                       ` Randy Brukardt [this message]
2001-03-07 19:52                         ` Marin David Condic
2001-03-07 21:04                           ` Robert A Duff
2001-03-07 21:45                       ` Robert A Duff
2001-03-07  6:54             ` Jeffrey Carter
2001-03-07 21:39               ` Robert A Duff
2001-03-08  5:53                 ` Jeffrey Carter
2001-03-07 21:47             ` Robert A Duff
replies disabled

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