afunms

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

          bit&byte

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

          bit 為“位”或“比特”,是計算機運算的基礎(chǔ);
          byte 為“字節(jié)”,是計算機文件大小的基本計算單位;
          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)  編輯  收藏


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


          網(wǎng)站導(dǎo)航:
           

          My Links

          News

          留言簿(18)

          隨筆檔案

          相冊

          搜索

          最新評論

          閱讀排行榜

          主站蜘蛛池模板: 莱芜市| 柏乡县| 防城港市| 新安县| 新干县| 曲沃县| 昭平县| 游戏| 田东县| 高雄县| 闻喜县| 普陀区| 泰州市| 兴业县| 惠东县| 龙山县| 苍溪县| 祁门县| 平定县| 南城县| 同德县| 永年县| 葫芦岛市| 休宁县| 固安县| 开原市| 景宁| 泸水县| 安溪县| 高雄县| 雷山县| 大石桥市| 保山市| 寿光市| 曲水县| 新巴尔虎右旗| 德庆县| 岗巴县| 道真| 柏乡县| 绍兴市|