Crystal for Rubyists
summary
Crystal compiles to native code with LLVM and produces a single ELF binary (~987 KB in a demo) while a Rust build was ~3 MB; a Fibonacci 42 benchmark shows Crystal beating other examples and far outpacing Ruby. Syntax mirrors Ruby but with static, compile‑time type checking that rejects type errors before run, a Go‑style concurrency model using channels like Go goroutines, built‑in spec testing and a shard (yaml) dependency system. Real projects like PlaceOS run in production; an experimental interpreter exists for REPL debugging.
AI-written summary · about
chapters (12)
- 0:00Crystal for Rubyists intro
- 2:51Why Rubyists explore Crystal
- 6:38Ruby vs Crystal differences
- 11:40Crystal’s static typing
- 16:38Syntax similarities and method name changes
- 22:06Concurrency in Crystal vs Ruby
- 27:05Libraries and gems comparison
- 29:14Testing in Crystal
- 31:26Hands-on exercises
- 35:20Crystal use cases
- 40:27Crystal community and future
- 42:43Q&A
related talks
28mCrystal: The Programming Language
39mCrystal: A language for humans and computers
28mIntroducing the Crystal Programming Language
11mIntroducing the Crystal Programming Language
30mHow Ruby forged Crystal
33mThe Power of Crystal: A language for humans and computers
30mIntroducing the Crystal Programming Language
44mConsider Crystal
