首页> 外文学位 >BitC: A safe systems programming language.
【24h】

BitC: A safe systems programming language.

机译:BitC:一种安全的系统编程语言。

获取原文
获取原文并翻译 | 示例

摘要

Modern programming languages support the development of correct, high-performance application software by providing features such as static type safety, sound and complete type inference, higher-order functions, polymorphism, and mathematically well-founded semantics. Systems software, such as device drivers and operating system kernels, imposes the unique requirements of prescriptive data structure representation and generic mutability support on languages used for its development. Modern programming languages---particularly those that support type inference---do not support complete mutability and prescriptive data structure representation. In consequence, systems codes continue to be built in languages such as C and C++ without the benefits of modern programming language principles and tools.;This dissertation presents BitC, the first language to support principal polymorphic type inference in the presence of C-style representation control and mutability. BitC's type system features a new mutability model that combines unboxed types with a consistent typing of mutability. The type system is provably sound, supports polymorphism, and eliminates the need for alias analysis to determine the immutability of a location. A sound and complete inference algorithm for this type system, which automatically infers both mutability and polymorphism, is presented.;The dissertation presents an evaluation of BitC's effectiveness as a systems programming language with respect to expressiveness as well as performance. It demonstrates that key data-structures, algorithms and programming idioms used in systems programming can be safely written in BitC. Early measurements on performance critical programs (ex: SHA1 hash computation) suggest that the performance of these routines written BitC is comparable to their native C implementations.
机译:现代编程语言通过提供诸如静态类型安全性,可靠和完整的类型推断,高阶函数,多态性以及数学上良好的语义等功能,支持正确的高性能应用程序软件的开发。系统软件(例如设备驱动程序和操作系统内核)对用于其开发的语言强加了规范性数据结构表示和通用可变性支持的独特要求。现代编程语言-特别是支持类型推断的语言-不支持完整的可变性和规范性的数据结构表示。结果,系统代码继续用C和C ++等语言构建,而没有现代编程语言原理和工具的好处。本文介绍了BitC,这是在存在C样式表示的情况下第一种支持主体多态类型推理的语言。控制和可变性。 BitC的类型系统具有新的可变性模型,该模型将未装箱的类型与一致的可变性类型结合在一起。类型系统可证明是健全的,支持多态性,并且不需要别名分析来确定位置的不变性。提出了一种健全,完备的推理算法,可以自动推断变异性和多态性。本文对BitC作为系统编程语言的表现力和性能进行了评估。它说明了可以在BitC中安全编写系统编程中使用的关键数据结构,算法和编程习惯。早期对性能至关重要的程序的测量(例如:SHA1哈希计算)表明,这些由BitC编写的例程的性能可与其本机C实现相媲美。

著录项

  • 作者

    Sridhar, Swaroop.;

  • 作者单位

    The Johns Hopkins University.;

  • 授予单位 The Johns Hopkins University.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2009
  • 页码 275 p.
  • 总页数 275
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号