Thread: Little endian and Bit endian advantages and disadvantages

  1. #1
    kotin
    Join Date
    Oct 2009
    Posts
    132

    Little endian and Bit endian advantages and disadvantages

    Hi,

    I understand that little endian and big endian concepts.

    But can any one let me know wich one is more advantage?

    why these two concepts came to market?

    now a days which one is more popular?( i mean most of PCs wich conept is following?)


    Help any one regarding this.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Behold the power of wikipedia: Endianness - Wikipedia, the free encyclopedia


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    There are no distinct advantages between the two, only trade-offs. That link mentioned by quzah lists some of them.

    In terms of which is more popular, there is no answer (and I think it's a silly question). All x86 processors are little endian, but the Java virtual machine is big-endian. A lot of processors used in communication systems and portable devices are big endian. Mainstream bus protocols for PCI, PCI-Express, and USB are all little endian, but mainstream networking protocols such as TCP/IP and UDP are big endian. Some well-known file formats (BMP, GIF, PCX, RTF) are little endian, but other well-known file formats (JPEG, IMG, WPG) are big-endian.

    And there are plenty of processors, protocols, and file formats that are bi-endian or of variable endianness.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  4. #4
    kotin
    Join Date
    Oct 2009
    Posts
    132
    Hi,

    Thanks for your replys.

    I have few doubts as per grumpy reply.

    1. "But the Java Virtual machine is big-endian"-- I understand that this Enadianness are apply for processors only. But it applys to software's and protocols also?
    2. I have one question I have little Endianne processor and I am installed Java Virtual Mechine. is it work ? because my processor is little indian and JVm is big indian as per grumpy reply.

    can any one reply me?

  5. #5
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    I suggest you have a bit more work to do in order to understand the concepts. Your interpretation is quite narrow.

    Endianness is a description to the order of bytes (sometimes bits as well) in a data representation, so the term is applicable to processors, protocols, and file formats.

    It is not hard to map a big-endian representation to a little-endian representation - the transformation is typically just changing order of a few bytes (or, sometimes, bits and nibbles).

    You might also want to clarify your understanding of what the Java Virtual Machine is. It is technically software that allows one computer to emulate or mimic another computer (processor, memory, I/O devices). So part of it IS a processor, just implemented in software, and its instruction set is Java Bytecode.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. big endian-small endian problem
    By kapil1089thekin in forum C Programming
    Replies: 3
    Last Post: 05-15-2008, 06:47 PM
  2. advantages and disadvantages in c
    By cnu_sree in forum C Programming
    Replies: 4
    Last Post: 11-06-2007, 09:29 AM
  3. Big Endian Little Endian Complex- Converting Characters
    By bd02eagle in forum C Programming
    Replies: 3
    Last Post: 07-11-2006, 01:01 AM
  4. functions (advantages/disadvantages)
    By aramsahai in forum C++ Programming
    Replies: 3
    Last Post: 04-30-2004, 09:45 AM
  5. Big endian/Little endian conversion
    By bonkey in forum Windows Programming
    Replies: 5
    Last Post: 09-25-2002, 02:29 PM