The Crystal Programming LanguagePublished on 05 March 2019 (Updated: 05 March 2019)
Like Julia, Crystal is another open-source language with a nice Wikipedia page, so we’ll be using that to get some language background.
According to Wikipedia, Crystal is a general-purpose language that first appeared in 2014. As of today, Crystal is self-hosted meaning the compiler is written in an earlier version of Crystal.
That said, Crystal was inspired by Ruby which is the language Crystal was originally written in. However, as previously mentioned, Crystal is a compiled language, so many of the dynamic features of Ruby no longer exist.
Despite the lack of dynamic features, Crystal leverages strong type inference to allow for implicit typing. As a result, the language looks like a high-level scripting language. However, the language’s efficiency is much closer to lower-level languages like C.1
- Hello World in Crystal on 28 February 2019 by Jeremy Grifski
J. Grifski, “Hello World in Crystal,” The Renegade Coder, 26-Apr-2018. [Online]. Available: https://therenegadecoder.com/code/hello-world-in-crystal/. [Accessed: 05-Mar-2019]. ↩