paint-brush
An Introduction to the Crystal Programming Languageby@dailydrip
6,519 reads
6,519 reads

An Introduction to the Crystal Programming Language

by DailyDrip
DailyDrip HackerNoon profile picture

DailyDrip

@dailydrip

E-Learning

August 25th, 2017
Read on Terminal Reader
Read this story in a terminal
Print this story
Read this story w/o Javascript
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Crystal was born five years ago, as a challenge to a long-held assumption: that a programming language can either be easy to understand by humans or compile to fast programs.
featured image - An Introduction to the Crystal Programming Language
1x
Read by Dr. One voice-avatar

Listen to this story

DailyDrip HackerNoon profile picture
DailyDrip

DailyDrip

@dailydrip

E-Learning

Crystal was born five years ago, as a challenge to a long-held assumption: that a programming language can either be easy to understand by humans or compile to fast programs.

Crystal is a statically-typed, compiled language, that achieves performance close to c/c++ while having a syntax as readable as Ruby. It relies on LLVM for emitting native code, thus making use of all the optimisations built into the toolchain. Thanks to its type checking system, type errors are caught during compilation, avoiding errors on runtime. But, given it has built-in type inference, most type annotations are unnecessary, keeping the code cleaner and easier to read.

Many other features make it a powerful yet easy-to-use language: null reference checks, a macro system and C-bindings. With a community constantly increasing (more than 8.8k followers on GitHub), Crystal is one of the fastest growing modern languages.

Here’s a quick intro to Crystal that will get you started in less than 30 minutes.

L O A D I N G
. . . comments & more!

About Author

DailyDrip HackerNoon profile picture
DailyDrip@dailydrip
E-Learning

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Mlsub
Takamol
Aryan
X REMOVE AD