Discussion Forums

Re: Language bindings for apps wtitten in C, C++, Java...
Rolf Andersson / Pantor Engineering
6 Feb 2011 2:24AM ET

Mahesh,

the protocol should certainly be independent of a specific environment, but given that we are aiming for high performance I believe there is good reason to keep an eye on the effects of the various protocol design decisions.

For example, we may go for little-endian (LE) rather than big-endian (BE) representation due to the ubiquity of the x86 platform. Choosing LE doesn't exclude using the protocol in BE environments, it just requires an impl in a BE environment to perform byte-swapping on multi-byte binary quantities. The alternative would be to stick to the traditional BE orientation of most Internet protocols. It's important from an interoperability point of view that we make sure that the protocol is well-defined re endianess.

Another example is the absence of unsigned integer types in Java.

/Rolf

> Should not the protocol design be programming language / operating system / hardware independent ?


Language bindings for apps wtitten in C, C++, Java...
Mahesh Kumaraguru   3 Feb 2011 11:11AM ET
Re: Language bindings for apps wtitten in C, C++, Java...
John Harris / BondMart Technologies, Inc.   3 Feb 2011 11:55AM ET
Re: Language bindings for apps wtitten in C, C++, Java...
Rolf Andersson / Pantor Engineering   6 Feb 2011 2:24AM ET