Stalin (Scheme implementation)

From Seo Wiki - Search Engine Optimization and Programming Languages
Jump to navigationJump to search
Stalin
Developer(s) Jeffrey Mark Siskind
Stable release 0.11 / October 2, 2006
Operating system Cross-platform
Type Programming language
License GPL
Website cobweb.ecn.purdue.edu/~qobi/software.html

Stalin (STAtic Language ImplementatioN) is an aggressive optimizing batch whole-program Scheme compiler written by Jeffrey Mark Siskind. It uses advanced flow analysis and type inference and a variety of other optimization techniques to produce code (using C as an intermediate language) that is extremely fast, particularly for numerical code. In a number of tests it has outperformed hand-written C, sometimes by a considerable margin. Stalin is intended for production use in generating an optimized executable.

The compiler itself runs slowly, and there is little or no support for debugging or other niceties. Full R4RS Scheme is supported, with a few minor and rarely-encountered omissions. Interfacing to external C libraries is straightforward. The compiler itself does lifetime analysis and hence does not generate as much garbage as might be expected, but global reclamation of storage is done using the Boehm garbage collector.

The name is a joke: "Stalin brutally optimizes."

Stalin is free software, licensed under the GNU General Public License (GPL), and is available online.

External links