The Crystal programming language was created to combine Ruby’s efficiency for running code with C’s efficiency for writing code. This new kid on the block is gaining considerable traction in the developer community.
What is Crystal?
Crystal is a programming language that is still under development which aims to provide a programming experience that is “Fast as C, slick as Ruby”.
Today, Crystal has a growing community as evidenced in its 2017 ‘State of Crystal’ survey. The survey findings reveal that 19 percent of respondents been using the language for over 12 months, also demonstrating its early adoption and indicating it’s usage for non-trivial applications even during it’s infant stages.
The survey found that the language was primarily being used across microservices, CPU performance-intensive apps, CLI tools, Background workers,Big Data processing and as a Ruby replacement.
What Makes the Crystal Programming Language Unique?
Crystal and Ruby have something in common, they both look good. In relation to Crystal, it shares the readability and verbosity of Ruby but with the powers of a C-like language, namely static typing and lightning speed.
As Sam Johnson, the CTO of BlockVue Inc puts it in a Medium blog: “Until now, you always had the choice between writing a lot of hard-to-read, hard-to-debug, complicated, but extremely fast C/C++ code, and writing a short 5-liner in Ruby/Python that does what you want, but wastes memory and speed. In other words, we have always had to choose between performance and syntax.”
Huge Surge in Popularity
According to it’s GitHub page, the language’s official repository has over 11 thousand stars. This growing community has high expectations for the language and its design philosophy. It will be interesting to see how the language is used to solve real-world problems as it continues to evolve and developer uptake and proficiency increases.
This article is from the CBROnline archive: some formatting and images may not be present.
Join Our Newsletter
Want more on technology leadership?
Sign up for Tech Monitor's weekly newsletter, Changelog, for the latest insight and analysis delivered straight to your inbox.