Stalin (Scheme implementation)

{{Short description|Scheme programming language}}

{{Multiple issues|

{{Independent sources|date=March 2025}}

{{No footnotes|date=December 2021}}

}}

{{Infobox programming language

| name = Stalin

| logo =

| logo caption =

| screenshot =

| screenshot caption =

| paradigms = Multi-paradigm: functional, imperative, meta

| family = Lisp

| designer = Jeffrey Mark Siskind

| developer = Jeffrey Mark Siskind

| released =

| latest release version = 0.11

| latest release date = {{Start date and age|2006|10|02}}

| latest preview version =

| latest preview date =

| typing = Dynamic, latent, strong

| scope = Lexical

| programming language =

| platform = IA-32, x86-64

| operating system = Cross-platform

| license = GPL

| file ext =

| file format =

| website = {{URL|engineering.purdue.edu/~qobi/software}}

| implementations =

| dialects =

| influenced by = Lisp, Scheme

| influenced =

}}

In computing, Stalin (STAtic Language ImplementatioN) is a programming language, an aggressive optimizing batch whole-program Scheme compiler written by Jeffrey Mark Siskind. It uses advanced data flow analysis and type inference and a variety of other optimization methods to produce code. Stalin is intended for production use in generating an optimized executable.

The compiler runs slowly, with 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 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 and open-source software, licensed under a GNU General Public License (GPL), and is available online.

See also

{{Portal|Free and open-source software}}

References

{{reflist}}