Crystal For Rubyists
  • Know Ruby? Enter Crystal!
  • book
    • Chapter 1: Why Crystal?
    • Chapter 2: Installing Crystal
    • Chapter 3: Writing Your First Crystal Program
    • Chapter 4: Creating a new project
    • Chapter 5: Testing
    • Chapter 6: FizzBuzz
    • Chapter 7: Types and Method Overloading
    • Chapter 8: Concurrency and Channels
    • Chapter 9: Macros and Metaprogramming
    • Chapter 10: C Bindings
Powered by GitBook
On this page

Know Ruby? Enter Crystal!

NextChapter 1: Why Crystal?

Last updated 2 years ago

programming language is super interesting. I've spent the time checking out Crystal and digging through what is available, and wrote it all down as I learned.

Frequently Asked Questions

Who are you?

I'm , and I've been a Crystalist for years now. I'm the author of , curator of and a .

I love new programming languages, and while I've been using Ruby for the past years, I've coded in Java, PHP, Crystal, Elixir and a host of others. I also love writing, and good documentation, which is hard to find. Crystal doesn't have a lot of that yet, so I'm pitching in!

Why Crystal?

I've written dedicated to this, but basically, Crystal is good at everything Ruby is not good at...plus as a Rubyist you already know some Crystal.

What am I getting?

Basically, you can read the whole thing online for free!

Do I have to know Ruby?

Really, I love alliteration: the only thing the 'for Rubyists' really means is that I assume you don't know about types, pointers, concurrency, or similar things. That's okay, you've never had to think about them before! I explain this stuff in extra depth. If you program in another dynamically typed language, you'll be just fine. If you program in another typed language, you'll be more than fine.

Where can I find some Crystal Libraries (Shards)?

  • has a curated list of Crystal shards.

  • lists all of the available Crystal shards on GitHub (similar to rubygems.org)

  • .

Crystal
Serdar Dogruyol
Kemal
Crystal Weekly
Crystal Core Member
a blog post
awesome-crystal
crystalshards.org
Here is a list of some popular Ruby gems that have been ported to Crystal