Kalpana Kalpana (Editor)

BitC

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
License
  
BSD

Designed by
  
Jonathan S. Shapiro, Swaroop Sridhar, and M. Scott Doerrie

Developer
  
Johns Hopkins University, The EROS Group, LLC

Stable release
  
BitCC 0.9.1 / February 17, 2006

Preview release
  
BitC 0.11+ Transitional / September 28, 2008

BitC was a partially designed and implemented systems programming language developed by researchers at the Johns Hopkins University and The EROS Group, LLC as part of the Coyotos project. It aimed to support formal program verification. The primary designer of BitC stopped working on the language in 2012 claiming it had fundamental design flaws.

Contents

Objectives

The language has two primary objectives:

  1. To merge the advances of modern programming languages; sound type systems with abstraction, sound and complete type inference, let-polymorphism, and mathematically grounded semantics — with the requirements of systems programming; first-class treatment of state, support for prescriptive low-level representation, explicitly unboxed types, and performance comparable to C.
  2. To support formal program verification of low-level systems programs, such as kernels/microkernels.

History

The goals for the BitC language were set out in 2004 in Towards a Verified, General-Purpose Operating System Kernel (html, pdf) presented at the 2004 NICTA OS Verification Workshop.

Some details of the origins and early evolution of the language can be found in The Origins of the BitC Programming Language (html, pdf). An early compiler for BitC, known as BitCC, was first released in an alpha form (v. 0.10.1) on June 17, 2006, and in the same year Shapiro left Johns Hopkins to form The EROS Group, LLC, and the BitC project became a joint effort between the two organizations.

At the end of 2008 the specification for the first released version of the language and its compiler converged towards its final form, and the prototype compiler was demonstrated to have favorable performance on microbenchmarks.

Language innovations

BitC combines the concepts of higher-order functional programming languages like ML and Haskell with the close hardware interaction of low-level programming languages like C. The current language syntax is derived from the syntax of Lisp, but this is expected to be replaced as the language comes to its first release.

From the standpoint of programming language evolution, BitC's most important innovation is the first sound and complete type inference algorithm that handles generalized state and unboxing. With the recent (not yet implemented) addition of effect typing, BitC presents an interesting middle position between purely functional and traditionally state-oriented languages.

From the perspective of systems programmers, BitC may be more interesting for the fact that the non-optimizing research prototype compiler is delivering performance on early benchmarks that falls within 1% to 1.5% of C on comparable code.

Status

In April 2009, Shapiro - driving force behind both BitC and Coyotos - announced that he had accepted a position at Microsoft to work on the Midori project, and that after August 2009 he would not be working further on BitC. However, in March 2010 he announced that he would leave Microsoft and continue to work on BitC. Finally, in March 2012 he announced that he had permanently ceased work on BitC, saying that the language had fundamental design flaws and would not work in its current form.

References

BitC Wikipedia