~/talk

Introduction to Elixir for Rubyists

Talkat Ancient City Ruby 2014 · 2014-04-03..04-04· [elixir-and-erlang, ruby]
links:none on file
slides:none on file

Elixir runs on the Erlang VM and compiles to BEAM bytecode, borrows Ruby-like syntax, and emphasizes pattern matching, lightweight processes and the pipe operator. Examples show maps (Erlang 17), structs, list comprehensions, mix projects and IEx compilation. Demo code spawns ping/pong processes and an incrementing state process that work via message passing; OTP and gen_server are the next step. Benchmarks claim ~40,000 concurrent requests for a simple web render (versus ~300 in Ruby, ~8,000 in Node).

AI-written summary · about

  1. 0:00Start
  2. 1:04Dave Thomas
  3. 1:25Bruce Tate
  4. 3:04Josh's Sales Pitch
  5. 4:26Atoms
  6. 4:44Strings
  7. 5:12Numbers/Integers
  8. 5:28Numbers/Floating Points
  9. 6:06Tuples
  10. 6:32Maps
  11. 8:40Regular Expressions
  12. 9:17Booleans
  13. 10:49Match Operator (cont)
  14. 12:16Function Definitions
  15. 12:50Case Statements
  16. 13:20Defining Them
  17. 15:06First-Class Functions
  18. 16:07Mix and Modules
  19. 16:31Using `mix
  20. 17:39Defining a Module
  21. 18:01Compiling a Module
  22. 18:52defmodule return value
  23. 19:42Documentation
  24. 21:35What are they for?
  25. 22:01Combining Lists
  26. 23:24Card Deck Example
  27. 24:45Defining Structs (cont)
  28. 25:49Updating Structs
  29. 26:25Matching Structs
  30. 28:38Basic Example
  31. 29:50Recursion
  32. 30:13Sum a list
  33. 32:00Processes
  34. 32:11What are they?
  35. 34:56Playing with them
  36. 36:37Encapsulating State
  37. 38:23Summary
~/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.