~/talk

Introducing the Crystal Programming Language

Talkat RubyKaigi 2015 · 2015-12-11..12-13· [ruby, compilers-and-language-design]
slides:none on file

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

  1. 0:00Introduction and background
  2. 1:07What is Crystal
  3. 4:17Ruby similarities
  4. 7:30Key differences from Ruby
  5. 11:02Crystal’s type system
  6. 15:58Abstract classes and macros
  7. 18:27Macros and compile-time features
  8. 20:12Linking to C libraries
  9. 22:20Compiler and optimizations
  10. 24:30Performance and tooling
  11. 25:11Installation and ecosystem
  12. 26:13Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.