Crystal Programming
eBook - ePub

Crystal Programming

  1. 356 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Crystal Programming

About this book

The ultimate guide to Crystal programming covering all its fundamental concepts such as OOP and concurrent programming to help you write readable and safe code and build fast applicationsKey Features• The book uses an example-based approach for a better demonstration of the underlying concepts• Develop a thorough appreciation of the roles of the macro API and annotations• Leverage supportive tools – spec, documentation, deployment, and automationBook DescriptionCrystal 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.What you will learn• Explore how Crystal combines the merits of other languages• Understand how to leverage existing C libraries without writing any C• Focus on zero-cost abstractions with compile-time macros• Use an example-based approach to demonstrate language features• Develop a variety of Crystal applications, such as web and CLI apps• Gain an understanding of the macro API and annotationsWho this book is forDevelopers who want to learn Crystal programming or anyone looking to improve their ability to solve real-world problems using the language will find this book helpful. Experience in application development using any other programming language is expected. However, prior knowledge of Crystal is not required.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Crystal Programming by George Dietrich,Guilherme Bernal in PDF and/or ePUB format, as well as other popular books in Computer Science & Object Oriented Programming. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Crystal Programming
  2. Contributors
  3. Preface
  4. Part 1: Getting Started
  5. Chapter 1: An Introduction to Crystal
  6. Chapter 2: Basic Semantics and Features of Crystal
  7. Chapter 3: Object-Oriented Programming
  8. Part 2: Learning by Doing – CLI
  9. Chapter 4: Exploring Crystal via Writing a Command-Line Interface
  10. Chapter 5: Input/Output Operations
  11. Chapter 6: Concurrency
  12. Chapter 7: C Interoperability
  13. Part 3: Learn by Doing – Web Application
  14. Chapter 8: Using External Libraries
  15. Chapter 9: Creating a Web Application with Athena
  16. Part 4: Metaprogramming
  17. Chapter 10: Working with Macros
  18. Chapter 11: Introducing Annotations
  19. Chapter 12: Leveraging Compile-Time Type Introspection
  20. Chapter 13: Advanced Macro Usages
  21. Part 5: Supporting Tools
  22. Chapter 14: Testing
  23. Chapter 15: Documenting Code
  24. Chapter 16: Deploying Code
  25. Chapter 17: Automation
  26. Appendix A: Tooling Setup
  27. Appendix B: The Future of Crystal
  28. Other Books You May Enjoy