BitC

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Not to be confused with Business in the Community.
BitC
Designed by Jonathan S. Shapiro, Swaroop Sridhar, and M. Scott Doerrie
Developer Johns Hopkins University, The EROS Group, LLC
BitCC 0.9.1 / February 17, 2006
BitC 0.11+ Transitional / September 28, 2008
Influenced by Haskell, ML
License BSD
Website http://www.bitc-lang.org/

BitC is a systems programming language developed by researchers[1] at the Johns Hopkins University and The EROS Group, LLC as part of the Coyotos project. It aims to support formal program verification.

Objectives[edit]

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[edit]

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[edit]

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.[2]

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.[clarification needed]

Status[edit]

In April 2009, Shapiro - driving force behind both BitC and Coyotos[3] - 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.[4] However, in March 2010 he announced that he would leave Microsoft and continue to work on BitC.[5] 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. [6]

References[edit]

  1. ^ Coyotos People. Bitc-lang.org. Retrieved on 2013-07-21.
  2. ^ [bitc-dev] Surface Syntax (again). Coyotos.org. Retrieved on 2013-07-21.
  3. ^ [1][dead link]
  4. ^ [bitc-dev] Where Has shap Been Hiding?. Coyotos.org. Retrieved on 2013-07-21.
  5. ^ [bitc-dev] Reviewing the state of BitC. Coyotos.org. Retrieved on 2013-07-21.
  6. ^ [bitc-dev] Retrospective Thoughts on BitC. Coyotos.org. Retrieved on 2013-07-21.

External links[edit]