Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Programming Language

Crystal

Object-Oriented Language

Crystal is a general-purpose, object-oriented programming language, designed and developed by Ary Borenszweig, Juan Wajnerman, Brian Cardiff and more than 400 contributors. It is influenced by Ruby's syntax, and is compiled while having static type checking; it has been described as a compiled version of Ruby. Crystal features type inference, so most type annotations are optional, and compiles to efficient native code via LLVM.

Facts
First Released
2014 1
Paradigm
Object-oriented, compiled, statically typed with global type inference 2
Significance
Pairs Ruby-like syntax with LLVM-compiled native performance, aiming to keep a scripting language's ergonomics without giving up compiled speed. 2
Classification
Typing Discipline
Statically Typed 1
Typing Discipline
Duck Typed 1
License
Apache License 2.0 1
Crystal
Filter Results1 entry
FAQs

Is Crystal just Ruby with a compiler?

Crystal borrows Ruby-inspired syntax but is a compiled language with static type-checking.

Not quite. Crystal's own site says its syntax is inspired by Ruby, but that it is a compiled language with static type-checking. So it looks familiar to Ruby programmers while being a separate language whose types are checked before the program runs.
Connections

Follows Typing Discipline

Duck Typing, Concepts

In Field

Source Wikipedia: Crystal (programming language)

Influenced By

Ruby, Programming Languages

"With syntax inspired by the language Ruby, it is a compiled language with static type-checking..." en.wikipedia.org/wiki/Crystal_(programming_language)

Licensed Under

Sources
1. Wikidata: Crystal
  • Wikidata Q21921428, class allow-list match (w-wdresolver-0926)
  • Wikidata Q21921428 P571 (inception)
  • Wikidata Q21921428 P275 (license)
  • Wikidata Q21921428 P7078 (typing discipline)
View the Source
2. Wikipedia: Crystal (programming language)
Wikimedia Foundation
  • History section
    The first official version was released in June 2014.
  • In Field: Programming Language Theory, Lead
    Crystal is a high-level general-purpose, object-oriented programming language, designed and developed by Ary Borenszweig, Juan Wajnerman, Brian Cardiff and more than 530 contributors.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.