femtolisp logo

femtolisp

Implements a Scheme-like language with a small core and compiles to bytecode for fast execution.

Made by Jeff Bezanson

  • lisp

  • common-lisp-implementation

  • Programming Language

  • common-lisp

What is femtolisp?

A fast, lightweight, and full-featured Lisp implementation, femtolisp offers a streamlined and efficient solution for a wide range of programming tasks. Weighing in at just 150kb, this scheme-like Lisp dialect boasts a compact core of 12 built-in special forms and 33 built-in functions, delivering exceptional performance that rivals even natively compiled Scheme implementations

Highlights

  • Compact and Efficient: Maintains a small 150kb footprint while providing a full-fledged Lisp environment
  • Scheme-like Syntax: Adheres to the Lisp-1 model with lexical scope, offering a familiar and approachable programming experience
  • Fast and Optimized: Ranks among the fastest non-native-compiled Scheme implementations, thanks to its bytecode compiler and virtual machine architecture
  • First-class Bytecode: Bytecode is treated as a first-class citizen, allowing for printing, reading, and a "human-readable" representation
  • Femtolisp-written Primitives: Core functionalities like filter and for-each are implemented in the Femtolisp language itself, rather than relying on C, contributing to its impressive speed.

Platforms

  • Self-Hosted

Languages

  • English