Crystal Programming

4.5 (2 reviews total)
By George Dietrich , Guilherme Bernal
    What do you get with a Packt Subscription?

  • Instant access to this title and 7,500+ eBooks & Videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies
  1. Free Chapter
    Chapter 1: An Introduction to Crystal
About this book

Crystal is a programming language with a concise and user-friendly syntax, along with a seamless system and a performant core, reaching C-like speed. This book will help you gain a deep understanding of the fundamental concepts of Crystal and show you how to apply them to create various types of applications.

This book comes packed with step-by-step explanations of essential concepts and practical examples. You'll learn how to use Crystal’s features to create complex and organized projects relying on OOP and its most common design patterns. As you progress, you'll gain a solid understanding of both the basic and advanced features of Crystal. This will enable you to build any application, including command-line interface (CLI) programs and web applications using IOs, concurrency and C bindings, HTTP servers, and the JSON API.

By the end of this programming book, you’ll be equipped with the skills you need to use Crystal programming for building and understanding any application you come across.

Publication date:
May 2022


Part 1: Getting Started

As with any programming book, we need to start by introducing the language, including how to use it, its basic features and semantics, as well as touching on some commonly used patterns it makes use of. This part focuses on just that, getting started with Crystal, but with a bias toward readers with knowledge of some other programming language, but no previous contact with Crystal itself.

This part contains the following chapters:

About the Authors
  • George Dietrich

    George Dietrich is a software engineer, open-source aficionado, and Crystal community moderator. He holds a Master of Science degree in internet information systems and a Bachelor of Science degree in information sciences.

    Browse publications by this author
  • Guilherme Bernal

    Guilherme Bernal is the chief technology officer at Cubos Tecnologia. He holds a bachelor's degree in TI management. Guilherme co-founded a software development company and several tech start-ups, including one that focused on teaching programming skills to a new generation of developers. He is also a two-time world finalist in the coding competition, ACM ICPC.

    Browse publications by this author
Latest Reviews (2 reviews total)
The book is great, and Crystal is an awesome programming language. Main complaint is that the e-book doesn't have color images, which needs to be acquired from an external link, however said link returns "access denied" and doesn't let me access it. Not a huge issue as the code examples are available externally, but it's a shame the digital experience can't be a bit nicer. Still highly recommended to anyone interested in Crystal. UPDATE: The support team has resolved the issue and provided me with a working link to the color images, the rating has been updated to reflect this.
Crystal Programming
Unlock this book and the full library FREE for 7 days
Start now