comp.lang.ada
 help / color / mirror / Atom feed
From: s0h7390@cs.tamu.edu (Salman Halim)
Subject: Re: Data Format Brainstorm
Date: 6 Jan 1995 12:09:13 GMT
Date: 1995-01-06T12:09:13+00:00	[thread overview]
Message-ID: <3ejbt9$3jv@news.tamu.edu> (raw)
In-Reply-To: cacclin.789345537@vanbc

In article <cacclin.789345537@vanbc>,
Stephen Cacclin <cacclin@vanbc.wimsey.com> wrote:
>Hello all,
>
>I am looking for some helpful input from the various comp.* communities. 
>
>Basically I want to know how various databases, languages, protocols etc.
>store different data types. In other words, how are signed/unsigned integers,
>floating point numbers, date types, booleans etc. written to disk?  
>
>Any database, language, machine type, protocol or other method is welcome! 
>Please feel free to share your most obscure references... 
>
>*** Please respond with email since I am polling a number of groups. 
*blind ignorance to this*

>
>If I receive enough input, I will post a complete overview. 
>Thanks in advance.
>
>Stephen Cacclin

hmm..  i don't really know how databases do their stuff, but i can't think of
an example where i was able to issue a command to pascal which was the
equivalent of:  store this array of boolean to disk in file bool.dat.  how it's
stored is up to the programmer.  some store it as text file (simple ascii on
pc), others perform compression for large data, especially numeric or string.

the SOURCE file on most pc compilers is stored simply as an ascii file (which
means you could edit it just about any bloody where you so choose and then
compile it using the language compiler).

what DOES differ on occasion is how data types are stored in MEMORY (eg.
integers take two bytes, longints take four, a byte obviously takes one etc.
etc.) -- fun fun fun. . .

hope i've completely babbled on uselessly and made no sense at all,

salman.



  reply	other threads:[~1995-01-06 12:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-05 22:38 Data Format Brainstorm Stephen Cacclin
1995-01-06 12:09 ` Salman Halim [this message]
1995-01-07  3:56 ` Mariusz Zydyk
1995-01-07 14:45   ` Robert Dewar
replies disabled

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