comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <marin.condic.auntie.spam@pacemicro.com>
Subject: Re: Ada Annex E (Just curious :-)
Date: Wed, 7 Mar 2001 14:52:42 -0500
Date: 2001-03-07T19:53:19+00:00	[thread overview]
Message-ID: <9863jf$nph$1@nh.pace.co.uk> (raw)
In-Reply-To: _Mup6.4125$7e6.1607402@homer.alpha.net

"Randy Brukardt" <randy@rrsoftware.com> wrote in message
news:_Mup6.4125$7e6.1607402@homer.alpha.net...
> 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.
>
O.K. I stand corrected. I'm not as familiar with Annex E as maybe I should
be, it appears. :-)

What you're saying is that you'd do some sort of extension to System.RPC and
fill in the read/write/do_rpc stuff? The dispatching handles the rest? That
would go a long way to making it fairly easy to modify the behavior to get
what you want.

Now your only issue would be efficiency - and of course that's always an
issue that is going to depend on the quality of the compiler in question
anyway. The best you could do is have some benchmark programs & run some
tests...

> 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).
>
I've had representation issues with the 'Read and 'Write stuff before. I've
also expressed complaints about its efficiency. I suppose if I were molding
all this stuff to a specific environment I might resort to assembly code if
I couldn't get around the Ada rules. It would be ugly, but it might get the
job done.

In general, I've not been 100% happy with the behavior of streams and the
'Read & 'Write stuff. It may be fine for things that are done with the same
compiler/hardware/os at both ends and where speed is not a critical issue.
Where things get heterogeneous and you have performance issues, I think the
requirements for that part of Ada are not very user friendly (at least if
the user is me! :-) One might say "A Solution Does Exist" - but I might
retort "It Would Be Difficult."

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/





  reply	other threads:[~2001-03-07 19:52 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
2001-03-07 19:52                         ` Marin David Condic [this message]
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