The reason behind endianness?

前端 未结 2 1425
借酒劲吻你
借酒劲吻你 2020-12-13 00:51

So, I was wondering, why some architectures use little-endian and others big-endian. I remember I read somewhere that it has to do with performance, however, I don\'t unders

2条回答
  •  隐瞒了意图╮
    2020-12-13 01:00

    I would assume that it once were the hardware designers of the first processors who decided which endianness would best integrate with their preferred/existing/planned micro-architecture for the chips they were developing from scratch.

    Once established, and for compatibility reasons, the endianness was more or less carried on to later generations of hardware; which would support the 'legacy' argument for why still both kinds exist today.

提交回复
热议问题