From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,6e0055097057e19a X-Google-Attributes: gid111c93,public From: Ronald Bruck Subject: Re: BIG or LOW endian? Date: 2000/08/12 Message-ID: #1/1 X-Deja-AN: 657693513 References: <3994166D.B1EAA3C8@saunalahti.fi> <8n2irf$2iu$1@piazzolla.physics.missouri.edu> <8n3p23$lt4$1@nserve1.acs.ucalgary.ca> <8n4r1o$4c5$1@piazzolla.physics.missouri.edu> Organization: Univ of Southern California User-Agent: MT-NewsWatcher/3.0 (PPC) Newsgroups: comp.os.linux.alpha X-Complaints-To: newsabuse@supernews.com In article <8n4r1o$4c5$1@piazzolla.physics.missouri.edu>, carlos@no_spam.no_spam.no_spam (Carlos) wrote: :>If you do not write your own programs, you shouldn't. Even if you write :>your own programs, but avoid using binary files for data exchange, and do : :I see, I have always used simple ascii files to store the data from number :crunching. In the past it allowed to inspect the data by opening the file :on emacs and see whether it made sense. Now, of course the data is too :big to simply "see" anything, but gnuplot et al. can still do a nice job :of quickly visualizing what I got out... Data exchange has, therefore, :never been a problem when moving from vaxes to mips to sgis to suns to :alphas to pcs, etc. (and of course, I liberally used gzip to compress the :data...) : :Thank you all for the information! I will try to keep avoiding the issue :;-) : :Carlos Well, that's fine for small datasets. But astronomers, geologists, etc., who acquire dozens of gigabytes of data A DAY, can't afford to save it as text. And yes, it's painful. I remember a solar astronomer in my university who had the awful job of converting big-endian floating-point data to little-endian (or was it the other way 'round?). Besides, there are NCSA formats which obviate the problem of cross-platform use. And the code is free for the taking. --Ron Bruck -- Due to University fiscal constraints, .sigs may not be exceed one line.