|
Re: use cases: binary XML for scientifc computing
|
[
Lists Home |
Date Index |
Thread Index
]
Title: Message
This is the whole problem of binary scalars: there are several existing
formats and more are obviously possible in the future.
The arguments related to binary scalars include:
- It's an open-ended mess, just use character representation
- Choosing one standard method ("network byte order") is the way to
go
- Choose the best 'local' method which is great for homogeneity and
'reader makes right' doable by dissimilar communicators.
- A new custom binary format is appropriate to the application
(such as Oracle's internal Number format which has interesting
properties).
Option 3 seems to have the most backing for those who are willing to
work past option 1. This would require that a full implementation of a
format, or a layer above it, be able to convert from any "generally
accepted" scalar to the local version. Converting to any "generally
accepted" format could be optional, but useful.
This problem of one application, directly or indirectly, choosing a
particular format that differs from the reading application also occurs
at the character encoding level. The solution of being able to convert
at the receiver and optionally at the sender seems reasonable.
The remaining problem then is the ability to integrate newly invented
scalar representations, but this seems to be a minor issue currently.
sdw
Cutler, Roger (RogerCutler) wrote:
Seems to me that DFDL fits the floating point
data usage case I contributed very well -- except maybe for the desire
for somebody else to handle the floating point conversion issues
between platforms. That is, "just get on with it" when your IO
libraries expect different float structures than that of the source of
the data can be a bit painful. My contacts really don't writing that
low level code over and over, with of course the potential for getting
it a bit wrong somehow each time.
Here's a snippet to give you the
"DFDL" idea:
...
--
swilliams@hpti.com http://www.hpti.com Per: sdw@lig.net http://sdw.st
Stephen D. Williams 703-724-0118W 703-995-0407Fax 20147-4622 AIM: sdw
|
|
|
|
|
|