BitC
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 |
License | BSD |
Website | http://www.bitc-lang.org/ |
Influenced by | |
Haskell, ML |
BitC was a partially designed and implemented systems programming language developed by researchers[1] 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.[2]
Objectives
The language has two primary objectives:
- 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.
- 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.[3]
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[4] - 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.[5] However, in March 2010 he announced that he would leave Microsoft and continue to work on BitC.[6] 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. [2]
References
- ↑ Coyotos People. Bitc-lang.org. Retrieved on 2013-07-21.
- 1 2 [bitc-dev] Retrospective Thoughts on BitC. Coyotos.org. Retrieved on 2013-07-21.
- ↑ [bitc-dev] Surface Syntax (again). Coyotos.org. Retrieved on 2013-07-21.
- ↑ Archived February 5, 2006, at the Wayback Machine.
- ↑ [bitc-dev] Where Has shap Been Hiding?. Coyotos.org. Retrieved on 2013-07-21.
- ↑ [bitc-dev] Reviewing the state of BitC. Coyotos.org. Retrieved on 2013-07-21.
External links
- BitC homepage
- BitC Language Specification (version 0.11+) (html, pdf)
- BitC-dev mailing list archives
- Coyotos homepage
- Jonathan Shapiro's homepage
- The BitC Programming Language