An Overview of the Crystal Programming Language
Crystal is a general-purpose, object-oriented programming language. Is was created as a "better Ruby", for ease of writing code, and as a "better C", for runtime efficiency.
Crystal supports static type-checking, but types are generally resolved by an advanced global type inference algorithm and type annotations are not usually needed.
Crystal is currently in active development.
The current version of Crystal is
Crystal Main Features
- Crystal's syntax is based on Ruby's.
- Crystal is compiled to machine code (via LLVM).
- Crystal is a statically typed programming language.
- Crystal supports type inference.
- All Crystal types are non-nilable. Nilable variables are represented as a union the type and
- Crystal supports a powerful macro system.
- Crystal has a builtin concurrency system, similar to Go, that uses green threads and channels.
Hello World in Crystal
puts "Hello World!"
More on Hello World in Crystal
If you are interested in finding out more about the Crystal programming language, then here's an explanation of the Hello World program in Crystal in a little more detail:
- Hello World (Crystal): Crystal Hello World - A quick explanation