Welcome, Guest
Go to bottomPage: 1
TOPIC: Endianness
#157
Endianness 2 Years ago  
Just another thing I was wondering about. Given JAUS is a "standard [that] avoids technology or system implementation details" (a 2007 presentation) it seems a bit counter-intuitive to be using a little-endian representation for reading data. Would it not be possible to use an endian-neutral approach such as suggested in: www.intel.com/design/intarch/papers/endian.pdf

Or perhaps it would be too abstract or complicated for practical implementation...
Ultimate
OpenJAUS User
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#159
Re: Endianness 2 Years ago  
When serializing data for transport, you are forced to choose a little or big endian format. JAUS chose to use little-endian. The decision was made a long time before I got involved, so I'm not sure what the exact reason was.

In implementation, it is possible to use an endian neutral approach by doing runtime checks of the host system endianness. OpenJAUS compromised by using a compile-time selection.
tgalluzzo
Admin
Posts: 133
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Copyright © 2012 OpenJAUS. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.