Stalin (Scheme Implementation)

Stalin (Scheme Implementation)

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 very 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.

Read more about Stalin (Scheme Implementation):  See Also

Famous quotes containing the word stalin:

    It was the supreme expression of the mediocrity of the apparatus that Stalin himself rose to his position.
    Leon Trotsky (1879–1940)