Talk:Byte: Difference between revisions
imported>Robert Tito mNo edit summary |
imported>Eric M Gearhart |
||
Line 27: | Line 27: | ||
big and small endians are only the way to tell the machine what the sign of the byte is: signed (+) or unsigned. Signed means only positive values are allowed. unsigned means the whole range of number space can be used. If your address space allows for file sizes up to 4 GB and you use an unsigned int to address it you CAN access that space. Using a signed variable allows you to address only 2 GB. Endian types only state where that sign is stored in the byte: the low bit or the high bit. nothing more nothing less. Some compilers use predominantly big others small endian variable. windows and unix in general use the two different styles. [[User:Robert Tito|Robert Tito]] | <span style="background:black"> <font color="white"><b>[[User talk:Robert Tito|Talk]]</b></font> </span> | big and small endians are only the way to tell the machine what the sign of the byte is: signed (+) or unsigned. Signed means only positive values are allowed. unsigned means the whole range of number space can be used. If your address space allows for file sizes up to 4 GB and you use an unsigned int to address it you CAN access that space. Using a signed variable allows you to address only 2 GB. Endian types only state where that sign is stored in the byte: the low bit or the high bit. nothing more nothing less. Some compilers use predominantly big others small endian variable. windows and unix in general use the two different styles. [[User:Robert Tito|Robert Tito]] | <span style="background:black"> <font color="white"><b>[[User talk:Robert Tito|Talk]]</b></font> </span> | ||
:OK I will try and work in a one-liner on [[Byte]], something like an "also worth mentioning is whether a Byte is big-endian or little-endian" and a link to an [[Endianness]] article.. maybe with [[Big endian]] and [[Little endian]] redirecting to it. | |||
And yea holy crap the Wikipedia article looks more like "Look at me I can write terse technical articles" rather than striving to be reachable to the masses. | |||
To clarify on Rovert's signed versus unsigned example: You would use an "unsigned" variable for a file system, because you're only going to deal with positive numbers. You would use a "signed" (meaning has positive and negative) address space when talking about a number that can be from -2 to positive 2 (for example). | |||
In very very simple terms, "big endian" means you're placing importance on the leftmost numbers. "Little endian" means you're placing importance on the rightmost numbers first. | |||
For example: | |||
Networks generally use big-endian order; the historical reason is that this allowed routing while a telephone number was being composed. | |||
757-421-2233 is big endian, because first comes the area code (Virginia), then 421 is the prefix (Norfolk), and then the last four numbers actually get you to the specific house. | |||
That's the type of explanation we need in the [[Endianness]] article in my opinion --[[User:Eric M Gearhart|Eric M Gearhart]] 10:43, 7 April 2007 (CDT) | |||
== bigger better? == | == bigger better? == | ||
Both LaCie and Iomega have single disk-enclosures out with disks of 1 TB below US$500. The density of the data however is that high these disks cannot be used without solid error-correction. Bigger is not always better, at most easier. [[User:Robert Tito|Robert Tito]] | <span style="background:black"> <font color="white"><b>[[User talk:Robert Tito|Talk]]</b></font> </span> 09:36, 7 April 2007 (CDT) | Both LaCie and Iomega have single disk-enclosures out with disks of 1 TB below US$500. The density of the data however is that high these disks cannot be used without solid error-correction. Bigger is not always better, at most easier. [[User:Robert Tito|Robert Tito]] | <span style="background:black"> <font color="white"><b>[[User talk:Robert Tito|Talk]]</b></font> </span> 09:36, 7 April 2007 (CDT) |
Revision as of 09:43, 7 April 2007
Workgroup category or categories | Computers Workgroup [Editors asked to check categories] |
Article status | Developing article: beyond a stub, but incomplete |
Underlinked article? | Yes |
Basic cleanup done? | Yes |
Checklist last edited by | --Eric M Gearhart 16:52, 6 April 2007 (CDT) |
To learn how to fill out this checklist, please see CZ:The Article Checklist.
missing on purpose?
Hi, I miss info about the small and big-endian. It should IMHO be part of the byte story. Robert Tito | Talk 20:54, 6 April 2007 (CDT)
- I did not mention it because, quite honestly, that's largely outside my scope of knowledge. If you're knowledgeable in that area, we would appreciate a contribution to the article :) --Joshua David Williams 21:03, 6 April 2007 (CDT)
- Edit - I did not realize you're an editor when I wrote that. If you're busy, I could find another user to help (Eric may be able to). In answer to your question, no, it was not excluded purposely - that is, to not include it at all. --Joshua David Williams 21:06, 6 April 2007 (CDT)
what is it
Big and small-endian refer to the 'sign'-bit, in big-endian it is at the end of the byte, in small at the begin (or the other way around - I still look that up). It is used in diverse protocols to discrimninate them from others. The best known IPX/PX versus TCP/IP. It took quite some problemsolving for cisco to let these two networks communicate without problem (it gave rise to their iOS version 13 and above - created when I was on the phone with them.) Signs of bytes are of importance for the variables needed to transfer specific information. Robert Tito | Talk 21:43, 6 April 2007 (CDT)
- Should this be a separate article that deserves a mention on Byte? Remember we don't want to overwhelm the average person with too much info stuffed into the Byte article --Eric M Gearhart 04:07, 7 April 2007 (CDT)
I think it is more relevant than all the prefixes as it IS info within a Byte. Robert Tito | Talk 09:01, 7 April 2007 (CDT)
- See this jargon? That's exactly what we want to avoid. I can't make heads or tails of it. Could someone please explain this in layman's terms? --Joshua David Williams 09:47, 7 April 2007 (CDT)
big and small endians are only the way to tell the machine what the sign of the byte is: signed (+) or unsigned. Signed means only positive values are allowed. unsigned means the whole range of number space can be used. If your address space allows for file sizes up to 4 GB and you use an unsigned int to address it you CAN access that space. Using a signed variable allows you to address only 2 GB. Endian types only state where that sign is stored in the byte: the low bit or the high bit. nothing more nothing less. Some compilers use predominantly big others small endian variable. windows and unix in general use the two different styles. Robert Tito | Talk
- OK I will try and work in a one-liner on Byte, something like an "also worth mentioning is whether a Byte is big-endian or little-endian" and a link to an Endianness article.. maybe with Big endian and Little endian redirecting to it.
And yea holy crap the Wikipedia article looks more like "Look at me I can write terse technical articles" rather than striving to be reachable to the masses.
To clarify on Rovert's signed versus unsigned example: You would use an "unsigned" variable for a file system, because you're only going to deal with positive numbers. You would use a "signed" (meaning has positive and negative) address space when talking about a number that can be from -2 to positive 2 (for example).
In very very simple terms, "big endian" means you're placing importance on the leftmost numbers. "Little endian" means you're placing importance on the rightmost numbers first. For example: Networks generally use big-endian order; the historical reason is that this allowed routing while a telephone number was being composed.
757-421-2233 is big endian, because first comes the area code (Virginia), then 421 is the prefix (Norfolk), and then the last four numbers actually get you to the specific house.
That's the type of explanation we need in the Endianness article in my opinion --Eric M Gearhart 10:43, 7 April 2007 (CDT)
bigger better?
Both LaCie and Iomega have single disk-enclosures out with disks of 1 TB below US$500. The density of the data however is that high these disks cannot be used without solid error-correction. Bigger is not always better, at most easier. Robert Tito | Talk 09:36, 7 April 2007 (CDT)
- Computers Category Check
- General Category Check
- Category Check
- Advanced Articles
- Nonstub Articles
- Internal Articles
- Computers Advanced Articles
- Computers Nonstub Articles
- Computers Internal Articles
- Developed Articles
- Computers Developed Articles
- Developing Articles
- Computers Developing Articles
- Stub Articles
- Computers Stub Articles
- External Articles
- Computers External Articles
- Computers Underlinked Articles
- Underlinked Articles
- Computers Cleanup
- General Cleanup
- Cleanup