afunms

          My Software,My Dream—Forge a more perfect NMS product.

          bit&byte

          在工作中遇到一些概念模糊的地方, 需要記住:

          bit 為“位”或“比特”,是計算機運算的基礎;
          byte 為“字節”,是計算機文件大小的基本計算單位;
          octet 為八位組,八比特組。

          因此:
          1 byte = 8 bits
          octet = byte

          -------------

          I did not receive much feedback on this issue, and what I did receive
          went both ways.

          I've given it a lot of thought and have decided to stick to *-byte in
          the names as there is simply no advantage in changing to octet.  In
          this day and age "byte" is universally accepted as being 8 bits and
          any argument that it could be misinterpreted is simply not realistic.
          "octet" on the other hand is a less well known term used primarily by
          network engineers and in RFCs, and could be confusing to those not
          familiar with it who may wonder how you intend to pull eight musicians
          out of a port.  Programming libraries and APIs almost universally use
          "byte" and so newcomers are likely to be more comfortable with this.

          In a nutshell, you could argue forever either way, but as this is a
          library for programmers and the most well known programming term is
          "byte," including specific precedence in Lisp and Scheme functions of
          the same name, I'm going to stick with "byte."

          posted on 2008-05-04 13:14 afunms 閱讀(188) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          My Links

          News

          留言簿(18)

          隨筆檔案

          相冊

          搜索

          最新評論

          閱讀排行榜

          主站蜘蛛池模板: 天津市| 贵德县| 望谟县| 油尖旺区| 东方市| 云林县| 申扎县| 平原县| 罗城| 苍梧县| 顺平县| 廉江市| 花莲县| 巍山| 娱乐| 法库县| 虹口区| 瑞昌市| 铁岭市| 额敏县| 阿勒泰市| 湄潭县| 西乡县| 开江县| 漾濞| 虞城县| 驻马店市| 宜黄县| 囊谦县| 都昌县| 类乌齐县| 孙吴县| 从江县| 东丽区| 滨海县| 南部县| 深州市| 鱼台县| 纳雍县| 稻城县| 曲阳县|