Crystal JSON beyond the basics Sep 21, 2020 POST In this article, we’ll look at how we can encode and decode Algebraic Data Types (ADTs) in Crystal using the json module and its powerful macros.
Building an interactive DSL Jul 7, 2020 POST A companion to the live-coding series Build Your Own interactive DSL
Sampling random variables and plotting histograms in Crystal Apr 10, 2020 POST In this article, we look into sampling value from well-known distributions.
Live coding a URL checker in Crystal Jan 12, 2020 POST A series of live coding sessions exploring Crystal’s concurrency, with emphasis on Channels, Fibers and the CSP model, by means of building a simple terminal-based app.
2-way communication between Fibers Nov 25, 2019 POST In this article, we show a simple pattern to achieve two-way communication between fibers, and then iterate over it, to make it more user-friendly.
Going faster with Crystal Apr 12, 2017 POST When it comes to scripting, can we write code in a modern language, without having to worry about performance overhead?