Crystal

Jason Charnes | @jmcharnes

Ruby

Ruby is Beautiful

Ruby is Natural

Ruby is <3

def say_hi
  puts "hi"
end

say_hi
Time.now
["My", "Pretty", "Array"]
so_pretty = ["My", "Pretty", "Array"]
so_pretty.join(" ")
=> "My Pretty Array"

Ruby on Rails

Sinatra

Hanami

Ruby is a

Total Love Fest

BUT!

Ruby is Slow

Need Speed?

  • Java
  • Go
  • Elixir

But Ruby! :(

Hello Crystal

Statically type-checked

Compiled

Fast

Wanna See Some Code?

def say_hi
  puts "hi"
end

say_hi
Time.now
["My", "Pretty", "Array"]
so_pretty = ["My", "Pretty", "Array"]
so_pretty.join(" ")
=> "My Pretty Array"

Huh?

Have a syntax similar to Ruby

(but compatibility with it is not a goal)

Some Live Coding

But First...

Install it With Homebrew

Dependencies

Gems   =>   Shards

Dependencies

Gemfile  =>  shard.yml

name: shards
version: 0.1.0

dependencies:
  openssl:
    github: datanoise/openssl.cr
    branch: master

development_dependencies:
  minitest:
    git: https://github.com/ysbaddaden/minitest.cr.git
    version: ~> 0.3.1

license: MIT

k bye.

Made with Slides.com