TIL: A Type-directed, Optimizing Compiler for ML. Tarditi, D., Morrisett, G., Cheng, P., Stone, C., Harper, R., & Lee, P. SIGPLAN Not., 39(4):554–567, April, 2004. ZSCC: 0000010
TIL: A Type-directed, Optimizing Compiler for ML [link]Paper  doi  abstract   bibtex   
The goal of the TIL project was to explore the use of Typed Intermediate Languages to produce high-performance native code from Standard ML (SML). We believed that existing SML compilers were doing a good job of conventional functional language optimizations, as one might find in a LISP compiler, but that inadequate use was made of the rich type information present in the source language. Our goal was to show that we could get much greater performance by propagating type information through to the back end of the compiler, without sacrificing the advantages afforded by loop-oriented and other optimizations.We also confirmed that using typed intermediate languages dramatically improved the reliability and maintainability of the compiler itself. In particular, we were able to use the type system to express critical invariants, and enforce those invariants through type checking. In this respect, TIL introduced and popularized the notion of a certifying compiler, which attaches a checkable certificate of safety to its generated code. In turn, this led directly to the idea of certified object code, inspiring the development of Proof-Carrying Code and Typed Assembly Language as certified object code formats.
@article{tarditi_til:_2004,
	title = {{TIL}: {A} {Type}-directed, {Optimizing} {Compiler} for {ML}},
	volume = {39},
	issn = {0362-1340},
	shorttitle = {{TIL}},
	url = {http://doi.acm.org/10.1145/989393.989449},
	doi = {10/cj82g7},
	abstract = {The goal of the TIL project was to explore the use of Typed Intermediate Languages to produce high-performance native code from Standard ML (SML). We believed that existing SML compilers were doing a good job of conventional functional language optimizations, as one might find in a LISP compiler, but that inadequate use was made of the rich type information present in the source language. Our goal was to show that we could get much greater performance by propagating type information through to the back end of the compiler, without sacrificing the advantages afforded by loop-oriented and other optimizations.We also confirmed that using typed intermediate languages dramatically improved the reliability and maintainability of the compiler itself. In particular, we were able to use the type system to express critical invariants, and enforce those invariants through type checking. In this respect, TIL introduced and popularized the notion of a certifying compiler, which attaches a checkable certificate of safety to its generated code. In turn, this led directly to the idea of certified object code, inspiring the development of Proof-Carrying Code and Typed Assembly Language as certified object code formats.},
	number = {4},
	urldate = {2019-11-01},
	journal = {SIGPLAN Not.},
	author = {Tarditi, David and Morrisett, Greg and Cheng, Perry and Stone, Chris and Harper, Robert and Lee, Peter},
	month = apr,
	year = {2004},
	note = {ZSCC: 0000010},
	pages = {554--567}
}

Downloads: 0