comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <eachus@mitre.org>
Subject: Re: Confusing language, was Re: Help help.. please.i am totaly new in  ada programing
Date: 1999/11/12
Date: 1999-11-12T16:25:57+00:00	[thread overview]
Message-ID: <382C40FA.248E6840@mitre.org> (raw)
In-Reply-To: 80djd2$48o$1@nnrp1.deja.com

Robert Dewar wrote:
  
> Note as a contrast Ada's view of how to store dates, which is
> completely hidden from the programmer. If you instantiate
> sequential I/O for a type with Calendar.Time in it, you get
> a tape full of highly implementation dependent data...

   Correct, but in Ada 95 the "right" way to create implementation
independent files is to use Streams.  If the vendor overrides 'Read,
'Write, 'Input and 'Output for Ada.Calendar.Time, which the vendor is
free to do, then
such times in files should be portable between programs running on
different system architectures.  It would be nice if the vendors could
get together on a single standard, but I don't think it can be added to
the Ada standard, since
streams are not required to be (8-bit) byte oriented.
 
>                          For example, the standard stream data in Ada is
> nowhere near being portable!

    I think that we need to bite the bullet, and not try to use streams
for too many things.  Streams should value portability over speed, while
direct and sequential files should be used where compatibility is not an
issue.  Or maybe we need multiple predefined stream types with different
characteristics.  But then there would have to be a way to query the
stream type.

-- 

                                        Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...




  parent reply	other threads:[~1999-11-12  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   ` David Botton
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       ` Matthew Heaney
1999-10-29  0:00       ` David Starner
1999-10-31  0:00         ` Robert Dewar
1999-10-31  0:00       ` Robert Dewar
1999-10-31  0:00     ` Robert Dewar
1999-11-01  0:00       ` Tucker Taft
1999-11-01  0:00       ` Gautier
1999-11-02  0:00         ` Robert Dewar
1999-11-02  0:00           ` Gautier
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
     [not found]                     ` <01bf25cc$5d390fc0$022a6282@dieppe>
1999-11-03  0:00                       ` Georg Bauhaus
1999-11-04  0:00                         ` David Botton
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                     ` 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
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                                   ` David Starner
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-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                                         ` 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                                                 ` Robert I. Eachus [this message]
1999-11-12  0:00                                                   ` Confusing language, was Re: Help help.. please.i am totaly new in ada programing Marin Condic
1999-11-13  0:00                                                   ` Robert Dewar
1999-11-13  0:00                                                     ` Nick Roberts
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-09  0:00                                         ` Confusing language, was Re: Help help.. please.i am totaly new in ada programing Robert Dewar
1999-11-08  0:00                                   ` 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-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-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-02  0:00               ` Gautier
1999-11-03  0:00               ` Aidan Skinner
1999-11-03  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-02  0:00             ` Robert Dewar
1999-11-02  0:00               ` Ted Dennison
1999-11-03  0:00             ` Free Software -- was, " Richard D Riehle
replies disabled

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