BT

Chez Scheme Native Compiler now Open Source

| by Sergio De Simone Follow 14 Followers on May 11, 2016. Estimated reading time: 1 minute |

R. Kent Dybvig, professor emeritus of Computer Science at Indiana University, now with Cisco, has recently open sourced version 9.4 of his formerly commercial Scheme compiler Chez Scheme.

Chez Scheme is an optimizing compiler that generates native code for the PowerPC, SPARC, IA–32, and x86–64 architectures. It supports Scheme R6RS, the 2007 Scheme standard that is supported by many Scheme implementations available today, such as Racket, Ikarus, Larceny and Ypsilon. Chez Scheme uses incremental native compilation and focuses on maximizing programmer productivity as well as application reliability and performance, according to its creator.

Chez Scheme is compiled using a nanopass compiler, which strives to reduce the number of transformations and optimizations that are done in a single pass to just one. This approach is claimed to make a compiler easier to understand and maintain, while also simplifying development, testing, and debugging. As an additional consequence of this, Chez Scheme should be particularly interesting for studying purposes.

Chez Scheme has a sibling interpreted implementation, known as Petite Chez Scheme, which uses a high-speed threaded interpreter design. Programs written for Chez Scheme may be run in Petite Chez Scheme. The only exception to this is represented by programs using foreign function interface (FFI) and other language features only available with the compiler. With the open sourcing of Chez Scheme, though, it is not entirely clear what role can Petite Chez Scheme play, since it was meant as a way to freely distribute programs written in Chez Scheme for anyone who could not justify purchasing Chez Scheme.

Dybvig is also the author of the freely available The Scheme Programming Language

Chez Scheme is available on GitHub and can be built on Linux, OS X, and Windows.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT