Upgrade to Pro — share decks privately, control downloads, hide ads and more …

(short version) Elixir By A Rubyist

98195776df79590269541395c699f816?s=47 João Moura
December 02, 2015

(short version) Elixir By A Rubyist

98195776df79590269541395c699f816?s=128

João Moura

December 02, 2015
Tweet

Transcript

  1. by a Rubyist Elixir Elixir by a Rubyist

  2. None
  3. None
  4. None
  5. the future is dynamic the future is dynamic #1

  6. None
  7. 1.400.000.000 1.400.000.000

  8. 177 mm² 177 mm²

  9. the future is concurrent the future is concurrent #2

  10. Thread, Process & Cores

  11. Multithread

  12. None
  13. None
  14. Erlang VM

  15. Erlang

  16. 30 years

  17. Ruby +

  18. Ruby + Erlang VM

  19. Ruby + Erlang VM Steroids

  20. Elixir

  21. Functional

  22. a = 0 def increment1 a += 1 end

  23. def increment2(a) return a + 1 end

  24. indexes = [1, 2, 3] indexes << 4 indexes #

    [1, 2, 3, 4]
  25. indexes = [1, 2, 3] all_indexes = indexes + [4]

  26. result = func1(a, b) + func2(a, c)

  27. func1(a, b) func2(a, c) } Parallelization

  28. None
  29. 05.000.000

  30. Rake + Bundler

  31. Mix

  32. gemfile.rb

  33. mix.ex

  34. Sent 200 in 184ms

  35. Sent 200 in 233µs

  36. Joe Armstrong “ ” This is good shit. Co-creator of

    Erlang
  37. None
  38. ElixirbyaRubyist.com #ElixirbyaRubyist

  39. @joaomdmoura ElixirbyaRubyist.com