why kbyte=2^10 ??

This is a discussion on why kbyte=2^10 ?? within the Tech Board forums, part of the Community Boards category; a byte=2^8 kilo=1000 2^8 * 1000 differs 2^10 ??...

  1. #1
    Banned
    Join Date
    Oct 2008
    Posts
    1,535

    why kbyte=2^10 ??

    a byte=2^8

    kilo=1000

    2^8 * 1000 differs 2^10

    ??

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,660
    Search the Web for kilobyte and kibibyte.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Banned
    Join Date
    Oct 2008
    Posts
    1,535
    kibibyte??

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,660
    If you have to ask that, it means you have not searched.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User
    Join Date
    Aug 2006
    Posts
    99
    Quote Originally Posted by transgalactic2 View Post
    a byte=2^8
    A byte = 2^8 ??

    What are you talking about?

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,439
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #7
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    Yeah, you got it a bit wrong.
    A bytes = 8 bits
    A kilobyte = 1024 bytes = 1024*8 bits

    So it is 1024 instead of 1000. The difference is small

  8. #8
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    The SI maniacs who know nothing about the architecture of a computer are trying to force people to use 1 kilobyte = 1000 bytes. I'm not going for it.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  9. #9
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Why not? It makes sense. And there is kibibyte (not like it disappeared), which would make advertising a whole lot better IMO.

    That being said, I never use the kibi and friend variants

  10. #10
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    call me old fashioned but a kilobyte will always be 1024 bytes. advertisers ........ me off by using the stupid 1000 byte rule, it didnt make much difference when they rounded megabytes, but now they are selling terabyte drives that only have 960 GB of storage. Thats a significant difference, and the error will only get larger as capacities increase. There actually will be a point in the forseable future when it will be off by >10&#37;. Its stupid and they are trying to force the correct viewpoint to change, rather than just make manufacturers print the correct (lower) capacities on their boxes. A foot is about 10 inches, so rope manufacters should start selling 50 inches of rope as '5 feet'. Its exactly the same as what the storage manufacturers are doing.
    Last edited by abachler; 10-10-2008 at 12:42 AM.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21