comp.lang.ada
 help / color / mirror / Atom feed
From: Nick Roberts <nickroberts@callnetuk.com>
Subject: Re: Confusing language, was Re: Help help.. please.i am totaly new in  ada programing
Date: 1999/11/13
Date: 1999-11-13T00:00:00+00:00	[thread overview]
Message-ID: <382DAF3F.D69B74A4@callnetuk.com> (raw)
In-Reply-To: 80ival$og$1@nnrp1.deja.com

Robert Dewar wrote:
> In article <382C40FA.248E6840@mitre.org>,
>   "Robert I. Eachus" <eachus@mitre.org> wrote:
> > Streams should value portability over speed
> 
> I strongly disagree in two contexts:
> ...
> 2. For homogenous distributed applications, the efficiency
> of streams is critical in the performance of remote procedure
> calls.

Aaaargh! Inefficient streams would *seriously knacker* a system based
heavily on Annex-E based IPC. (Guess who is in the process of designing
such a system ;-)

Apologies if I'm repeating somebody, but RM95 13.13.2 (17) has the
following implementation advice:

: If a stream element is the same size as a storage element, then the 
: normal in-memory representation should be used by Read and Write for 
: scalar objects. Otherwise, Read and Write should use the smallest 
: number of stream elements needed to represent all values in the base 
: range of the scalar type.

> > Or maybe we need multiple predefined stream types with
> > different characteristics.
> 
> That's a much better thought in my opinion.
> We need a way of specifying default stream methods

Much better idea. Maybe a new configuration pragma could be used for
this job?

pragma Default_Stream_IO ( Intrinsic | Standard );

Intrinsic would invoke the current recommended scheme (efficient
in-memory images), and so be the default. Standard would invoke a scheme
which precisely specified the binary format of every possible Ada type
(for all four attributes Read, Write, Input, and Output). I think this
would have to be in terms of architectures which had byte (or
byte-multiple) stream elements and elementary types; architectures which
didn't would simply have to ignore the pragma or interpret it in their
own way (but issue a warning!).

Submission for an AI?

-- 
Nick Roberts
Computer Consultant (UK)
http://www.callnetuk.com/home/nickroberts
http://www.adapower.com/lab/adaos






  reply	other threads:[~1999-11-13  0:00 UTC|newest]

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-29  0:00 Help help.. please.i am totaly new in ada programing vico
1999-10-29  0:00 ` Matthew Heaney
1999-10-29  0:00   ` Gautier
1999-10-29  0:00     ` Matthew Heaney
1999-10-30  0:00       ` Dave Taylor
1999-10-30  0:00         ` gnat on macintosh James E. Hopper
1999-10-30  0:00           ` Larry Kilgallen
1999-10-30  0:00             ` James E. Hopper
1999-10-31  0:00       ` Help help.. please.i am totaly new in ada programing Robert Dewar
1999-10-29  0:00     ` Tucker Taft
1999-10-29  0:00       ` Jean-Pierre Rosen
1999-10-30  0:00     ` Siow Wey Hua
1999-10-29  0:00       ` David Starner
1999-10-31  0:00         ` Robert Dewar
1999-10-29  0:00       ` Matthew Heaney
1999-10-31  0:00       ` Robert Dewar
1999-10-31  0:00     ` Robert Dewar
1999-11-01  0:00       ` Gautier
1999-11-02  0:00         ` Robert Dewar
1999-11-02  0:00           ` Ted Dennison
1999-11-02  0:00             ` Robert Dewar
1999-11-02  0:00               ` Ted Dennison
1999-11-02  0:00             ` Aidan Skinner
1999-11-03  0:00               ` Robert Dewar
1999-11-03  0:00             ` Free Software -- was, " Richard D Riehle
1999-11-02  0:00           ` Gautier
1999-11-02  0:00             ` Robert Dewar
1999-11-02  0:00               ` Gautier
1999-11-02  0:00               ` Ted Dennison
1999-11-02  0:00                 ` Robert Dewar
1999-11-02  0:00                   ` Ted Dennison
1999-11-03  0:00                   ` Larry Kilgallen
1999-11-03  0:00                     ` Robert Dewar
1999-11-03  0:00                       ` Larry Kilgallen
1999-11-03  0:00                         ` Robert Dewar
1999-11-03  0:00               ` Aidan Skinner
1999-11-03  0:00                 ` Robert Dewar
1999-11-02  0:00             ` Robert Dewar
1999-11-02  0:00               ` tmoran
1999-11-02  0:00                 ` Robert Dewar
1999-11-03  0:00                   ` tmoran
1999-11-03  0:00                     ` Robert Dewar
1999-11-03  0:00                       ` Georg Bauhaus
1999-11-03  0:00                         ` Robert Dewar
1999-11-04  0:00                           ` Georg Bauhaus
1999-11-05  0:00                             ` Stefan Skoglund
1999-11-04  0:00                       ` Stanley R. Allen
1999-11-05  0:00                         ` Stefan Skoglund
1999-11-03  0:00                     ` Preben Randhol
1999-11-03  0:00                       ` Robert Dewar
1999-11-03  0:00                         ` Confusing language, was " tmoran
1999-11-03  0:00                           ` Robert Dewar
1999-11-04  0:00                             ` Richard D Riehle
1999-11-05  0:00                               ` Robert Dewar
1999-11-04  0:00                             ` tmoran
1999-11-04  0:00                               ` Ted Dennison
1999-11-04  0:00                               ` David Starner
1999-11-04  0:00                                 ` tmoran
1999-11-04  0:00                                   ` Aidan Skinner
1999-11-05  0:00                                     ` Craig Spannring
1999-11-05  0:00                                       ` Stefan Skoglund
1999-11-06  0:00                                         ` Robert Dewar
1999-11-05  0:00                                       ` Robert Dewar
1999-11-04  0:00                                   ` Hyman Rosen
1999-11-04  0:00                                   ` David Starner
1999-11-05  0:00                                   ` Robert Dewar
1999-11-09  0:00                                   ` Robert A Duff
1999-11-10  0:00                                     ` tmoran
1999-11-05  0:00                               ` Stefan Skoglund
1999-11-06  0:00                                 ` tmoran
1999-11-06  0:00                                   ` Robert Dewar
1999-11-08  0:00                                 ` Tarjei Jensen
1999-11-08  0:00                                   ` Robert Dewar
1999-11-08  0:00                                     ` Marin Condic
1999-11-08  0:00                                       ` Ehud Lamm
1999-11-09  0:00                                         ` Robert I. Eachus
1999-11-09  0:00                                           ` Ehud Lamm
1999-11-09  0:00                                       ` Robert A Duff
1999-11-09  0:00                                         ` Robert Dewar
1999-11-09  0:00                                         ` Marin Condic
1999-11-09  0:00                                           ` Richard D Riehle
1999-11-10  0:00                                             ` Robert A Duff
1999-11-10  0:00                                               ` Richard D Riehle
1999-11-11  0:00                                                 ` Robert Dewar
1999-11-11  0:00                                                   ` Robert A Duff
1999-11-11  0:00                                                 ` Robert Dewar
1999-11-11  0:00                                                   ` Robert A Duff
1999-11-11  0:00                                               ` Robert Dewar
1999-11-11  0:00                                                 ` Marin Condic
1999-11-12  0:00                                                   ` Robert Dewar
1999-11-12  0:00                                                     ` Marin Condic
1999-11-12  0:00                                                     ` Marin Condic
1999-11-13  0:00                                                       ` Robert Dewar
1999-11-19  0:00                                                     ` GNAT.Calendar (was: Re: Confusing language, was Re: Help help.. please.i am totaly new in ada programing) Mario Amado Alves
1999-11-19  0:00                                                       ` Robert Dewar
1999-11-12  0:00                                                 ` Confusing language, was Re: Help help.. please.i am totaly new in ada programing Robert I. Eachus
1999-11-12  0:00                                                   ` Marin Condic
1999-11-13  0:00                                                   ` Robert Dewar
1999-11-13  0:00                                                     ` Nick Roberts [this message]
1999-11-15  0:00                                                       ` Samuel T. Harris
1999-11-15  0:00                                                     ` Ted Dennison
1999-11-15  0:00                                                       ` Robert Dewar
1999-11-11  0:00                                               ` Robert Dewar
1999-11-11  0:00                                                 ` Robert A Duff
1999-11-12  0:00                                                   ` Robert Dewar
1999-11-10  0:00                                           ` Confusing language etc Nick Roberts
1999-11-11  0:00                                             ` Robert Dewar
1999-11-08  0:00                                   ` Confusing language, was Re: Help help.. please.i am totaly new in ada programing Robert Dewar
1999-11-09  0:00                                     ` Tarjei Jensen
1999-11-09  0:00                                       ` Y2K liability, was " tmoran
1999-11-09  0:00                                       ` Robert Dewar
1999-11-05  0:00                         ` Stefan Skoglund
1999-11-05  0:00                           ` Larry Kilgallen
1999-11-03  0:00                     ` Georg Bauhaus
1999-11-03  0:00                       ` tmoran
1999-11-03  0:00                         ` Robert Dewar
1999-11-04  0:00                           ` tmoran
1999-11-04  0:00                             ` Charles Hixson
1999-11-04  0:00                               ` tmoran
1999-11-05  0:00                                 ` Robert Dewar
1999-11-08  0:00                                 ` Georg Bauhaus
1999-11-08  0:00                                   ` Robert Dewar
1999-11-05  0:00                             ` Robert Dewar
1999-11-04  0:00                         ` Georg Bauhaus
     [not found]                     ` <01bf25cc$5d390fc0$022a6282@dieppe>
1999-11-03  0:00                       ` Georg Bauhaus
1999-11-04  0:00                         ` David Botton
1999-11-01  0:00       ` Tucker Taft
1999-10-29  0:00   ` David Botton
replies disabled

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