From TheBestLinks.com
This article refers to the unit of binary information. Byte was also the name of a popular computer industry magazine, see Byte magazine.
A byte is commonly used as a unit of storage measurement in computers. It is one of the basic integral data types in computing. The byte is often used to specify the size or amount of computer memory or storage, regardless of the type of data stored in it.
Meanings
A byte has several meanings, all closely related:
- A contiguous sequence of a fixed number of bits. On modern computers, an eight-bit byte or octet is by far the most common. This was not always the case. Certain older models have used six-, seven-, or nine-bit bytes - for instance on the 36-bit architecture of the PDP-10. Another example of a non eight-bit sequence is the 12-bit slab of the NCR-315. A byte is always atomic on the system, meaning that it is the smallest addressable unit. An eight-bit byte can hold 256 possible values (28 = 256) -- enough to store an unsigned integer ranging from 0 to 255, a signed integer from -128 to 127, or a character of a seven-bit (such as ASCII) or eight-bit character encoding.
- A contiguous sequence of bits that comprises a sub-field of a longer sequence known as a word. On some computers it is possible to address bytes of arbitrary length. This usage is reflected, for example, in LDB and DPB assembly instructions for field extraction on a PDP-10, which survive as bytewise operations in Common Lisp; and in the six-bit bytes of the IBM 1401.
- A datatype or synonym for a datatype in certain programming languages. C, for example, defines byte as a storage unit capable of at least being large enough to hold any character of the execution environment (clause 3.5 of the C standard). Since the C
char integral data type can hold at least 8 bits (clause 5.2.4.2.1), a byte in C is at least capable of holding 256 different values (signed or unsigned char doesn't matter). Java plays it simpler. Java's integral byte data type is always defined as consisting of 8 bits and being a signed data type, holding values from -128 to 127.
Coined
The term byte was coined by Werner Buchholz in 1956 during the early design phase for the IBM Stretch computer. Originally it was described as one to six bits; typical I/O equipment of the period used six-bit units. The move to an eight-bit byte happened in late 1956, and this size was later adopted and promulgated as a standard by the System/360. The word was coined by mutating the word bite so it would not be accidentally misspelled as bit.
Alternate words
The eight-bit byte is often called an octet in formal contexts such as industry standards, as well as in networking and telecommunication. This is also the word used for the eight-bit quantity in many non-English languages, where the pun on bite does not translate.
Half of an eight-bit byte (four bits) is sometimes called (playfully) a nibble (sometimes spelled nybble) or more formally a hex digit. The nibble is often called a semioctet in a networking or telecommunication context and also by some standards organisations.
Abbreviation
As a unit of measure, bytes is most often abbreviated as B; hence MB for megabytes. Likewise, the lowercase b is used for bits: hence, a 5 Mb/s network segment carries five megabits per second, while a 90 GB hard drive carries 90 gigabytes. A less frequent but more correct practice uses "bit" for bit and "b" for byte, because "B" stands for Bel in the International System of Units (SI). Computer memory and storage are usually denominated in bytes, while network speed is denominated in bits, and parallel bus speed in hertz.
The International Electrotechnical Commission (IEC) has proposed binary prefixes for the powers of two often used as multiples of bytes, e.g., mebibyte rather than megabyte for 220 bytes -- but these have yet to catch on in common usage.
Names for larger units
A comparative table of base-10 and base-2 bytes, as proposed by the IEC:
Classic
- 1 kilobyte [kB] = 1000 (103) byte
- 1 megabyte [MB] = 1 000 000 (106) byte
- 1 gigabyte [GB] = 1 000 000 000 (109) byte
- 1 terabyte [TB] = 1 000 000 000 000 (1012) byte
- 1 petabyte [PB] = 1 000 000 000 000 000 (1015) byte
- 1 exabyte [EB] = 1 000 000 000 000 000 000 (1018) byte
- 1 zettabyte [ZB] = 1 000 000 000 000 000 000 000 (1021) byte
- 1 yottabyte [YB] = 1 000 000 000 000 000 000 000 000 (1024) byte
New Proposal
- 1 kibibyte [KiB] = 1024 (210) byte (or kilobyte, in standard usage)
- 1 mebibyte [MiB] = 1 048 576 (220) byte (or megabyte)
- 1 gibibyte [GiB] = 1 073 741 824 (230) byte (or gigabyte)
- 1 tebibyte [TiB] = 1 099 511 627 776 (240) byte (or terabyte)
- 1 pebibyte [PiB] = 1 125 899 906 842 624 (250) byte
- 1 exbibyte [EiB] = 1 152 921 504 606 846 976 (260) byte
Not official
- 1 zebibyte [ZiB] = 1 180 591 620 717 411 303 424 (270) byte
- 1 yobibyte [YiB] = 1 208 925 819 614 629 174 706 176 (280) byte
Note that as the size increases, the proportion between the binary and decimal version of the size increases.
External links
ar:بايت
ca:Byte
cs:Byte
da:Byte
de:Byte
et:Bait
es:Byte
eo:Bitoko
fr:Octet
hr:Bajt
it:Byte
he:בית
hu:Bjt
ms:Bait
nl:Byte
ja:バイト (情報)
pl:Bajt
pt:Byte
ro:Octet
ru:Байт
fi:Tavu
sv:Byte
zh-cn:字节
Related links
Top visited
0 of
0 links
[no links posted yet]
>> place link >>
Discussion
Last posted
0 of
0 messages
[no messages posted yet]
>> post message >>
Watch
You can
add this article to your own "watchlist" and receive e-mail notification about all changes in this page.