Total Pageviews

Friday, 21 October 2016


The Crystal Programming Language 
Build Status Bountysource Code Triagers Badge

Crystal is a programming language with the following goals:
  • Have a syntax similar to Ruby (but compatibility with it is not a goal)
  • Statically type-checked but without having to specify the type of variables or method arguments.
  • Be able to call C code by writing bindings to it in Crystal.
  • Have compile-time evaluation and generation of code, to avoid boilerplate code.
  • Compile to efficient native code.


We love Ruby's efficiency for writing code.
We love C's efficiency for running code.
We want the best of both worlds.
We want the compiler to understand what we mean without having to specify types everywhere.
We want full OOP.
Oh, and we don't want to write C code to make the code run faster.


  • The project is in alpha stage: we are still tweaking the language and standard library.
  • The compiler is written in Crystal.


Try it online


Both in progress:


Questions or suggestions? Ask in our Google Group, join our IRC channel #crystal-lang at, ask on our Gitter channel or ask on Stack Overflow under the crystal-lang tag.