Introducing the Crystal Programming Language
summary
Crystal compiles to native code on LLVM, uses static dispatch and pervasive type inference (including union and tuple types), and implements compile‑time macros and a workbook REPL. Benchmarks show a Sinatra‑style app uses roughly an order of magnitude faster responses and ~100x less RAM in a microbenchmark. The ecosystem already links easily to C — a working Postgres driver demonstrates links against libpq — and concurrency is Go‑like but currently single‑process.
AI-written summary · about
chapters (14)
- 0:00Start
- 1:04What Is the Crystal Programming Language
- 6:16Differences from Ruby
- 6:45Statically Typed
- 8:16Samples
- 13:29The Type System
- 14:33Union Types
- 15:53Compile Time Error
- 18:08Method Overloading
- 19:58Containers
- 20:27Tuple
- 23:25Postgres Driver
- 26:34Structs
- 27:26Concurrency Model
related talks
28mIntroducing the Crystal Programming Language
11mIntroducing the Crystal Programming Language
28mCrystal: The Programming Language
39mCrystal: A language for humans and computers
33mThe Power of Crystal: A language for humans and computers
55mCrystal for Rubyists
30mHow Ruby forged Crystal
44mConsider Crystal
