此商品已下架,若仍需天瓏代為查詢或代購書籍,請與門市客服人員聯繫,或 E-mail 至 service@tenlong.com.tw 將有專人為您服務。

Types in Compilation: Third International Workshop, Tic 2000, Montreal, Canada, September 21, 2000. Revised Selected Papers
暫譯: 編譯中的類型:第三屆國際研討會,Tic 2000,蒙特利爾,加拿大,2000年9月21日。修訂選擇論文

Harper, Robert

  • 出版商: Springer
  • 出版日期: 2001-06-20
  • 售價: $2,350
  • 貴賓價: 9.5$2,233
  • 語言: 英文
  • 頁數: 214
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 3540421963
  • ISBN-13: 9783540421962
  • 相關分類: Compiler
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

The importance of typed languages for building robust software systems is, by now, an undisputed fact. Years of research have led to languages with richly expressive, yet easy to use, type systems for high-level programming languages. Types provide not only a conceptual framework for language designers, but also a ord positive bene ts to the programmer, principally the ability to express and enforce levels of abstraction within a program. Early compilers for typed languages followed closely the methods used for their untyped counterparts. The role of types was limited to the earliest s- ges of compilation, and they were thereafter ignored during the remainder of the translation process. More recently, however, implementors have come to - cognize the importance of types during compilation and even for object code. Several advantages of types in compilation have been noted to date: { They support self-checking by the compiler. By tracking types during c- pilation it is possible for an internal type checker to detect translation errors at an early stage, greatly facilitating compiler development. { They support certi cation of object code. By extending types to the ge- rated object code, it becomes possible for a code user to ensure the basic integrity of that code by checking its type consistency before execution. { They support optimized data representations and calling conventions, even in the presence of modularity. By passing types at compile-, link-, and even run-time, it is possible to avoid compromises of data representation imposed by untyped compilation techniques.

商品描述(中文翻譯)

強型語言在構建穩健軟體系統中的重要性,現在已經是無可爭辯的事實。多年的研究導致了具有豐富表達能力且易於使用的高階程式語言型別系統。型別不僅為語言設計者提供了概念框架,還為程式設計師帶來了正面的好處,主要是能夠在程式中表達和強制執行抽象層級。早期的強型語言編譯器緊密遵循其無型別對應物所使用的方法。型別的角色僅限於編譯的最早階段,之後在翻譯過程的其餘部分被忽略。然而,最近實作者已經認識到型別在編譯過程中的重要性,甚至對於物件碼也如此。至今已經注意到型別在編譯中的幾個優點:

- 它們支持編譯器的自我檢查。通過在編譯過程中追蹤型別,內部型別檢查器能夠在早期階段檢測翻譯錯誤,極大地促進了編譯器的開發。
- 它們支持物件碼的認證。通過將型別擴展到生成的物件碼,程式碼使用者可以在執行之前檢查其型別一致性,以確保該程式碼的基本完整性。
- 它們支持優化的資料表示和呼叫約定,即使在模組化的情況下也是如此。通過在編譯時、連結時甚至執行時傳遞型別,可以避免無型別編譯技術所帶來的資料表示妥協。