What is Crystal?
Crystal is a programming language that resembles Ruby but compiles to native code and tries to be much more efficient, at the cost of disallowing certain dynamic aspects of Ruby.
Crystal is a tool in the Languages category of a tech stack.
Crystal is an open source tool with 15.6K GitHub stars and 1.2K GitHub forks. Here’s a link to Crystal's open source repository on GitHub
Who uses Crystal?
22 companies reportedly use Crystal in their tech stacks, including Stack goals, WeTransfer, and Foretag.
198 developers on StackShare have stated that they use Crystal.
Airbrake, Azk, Kemal, Starship (Shell Prompt), and Amber Framework are some of the popular tools that integrate with Crystal. Here's a list of all 6 tools that integrate with Crystal.
Pros of Crystal
Compiles to efficient native code
Ruby inspired syntax
Performance oriented - C-like speeds
Gem-like packages, called Shards
Typed Ruby <3
Can call C code using Crystal bindings
Program compiled into a single binary
Has builtin LLVM support library
Feels like duck types, safe like static types
Statically linked binaries that are simple to deploy
Fun to write
Simple, minimal syntax
Compile time statically safe macros
Statically Safe Monkey Patching
Meta-Programming (via Macros)
- Ruby-inspired syntax.
- 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.
Crystal Alternatives & Comparisons
What are some alternatives to Crystal?
See all alternatives
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!