Introducing the Crystal Programming Language
summary
Crystal looks and feels like Ruby but compiles to native code with static typing and compile-time macros that replace runtime metaprogramming. It uses LLVM so LLVM release optimizations drop a JSON parse benchmark from ~12s to ~1.5s. The ecosystem already links to C easily — a minimal Postgres client is nine lines that link against libpq and works. Concurrency is coroutine-based (single-threaded today), binaries exclude unused classes, and tools provide hierarchy, type inspection and formatting.
AI-written summary · about
chapters (12)
- 0:00Introduction and background
- 1:07What is Crystal
- 4:17Ruby similarities
- 7:30Key differences from Ruby
- 11:02Crystal’s type system
- 15:58Abstract classes and macros
- 18:27Macros and compile-time features
- 20:12Linking to C libraries
- 22:20Compiler and optimizations
- 24:30Performance and tooling
- 25:11Installation and ecosystem
- 26:13Q&A
related talks
30mIntroducing the Crystal Programming Language
11mIntroducing the Crystal Programming Language
28mCrystal: The Programming Language
39mCrystal: A language for humans and computers
55mCrystal for Rubyists
33mThe Power of Crystal: A language for humans and computers
30mHow Ruby forged Crystal
44mConsider Crystal
