/elixir-fun-with-programming

elixir fun with programming #1

Primary LanguageElixir

elixir-fun-with-programming

elixir fun with programming #1

Presentation for Fun with Programming series @ Freebird

Why Elixir?

  • Functional language with a syntax similar to Ruby
  • Dynamically typed
  • Highly concurrent due to the process model - all code is executed in small, lightweight processes that are garbage collected independently. These do not share state other than through persisted data stores
  • Runs on the Erlang BEAM VM, known for low-latency and reliability
    1. Hot code reloading
    2. Distributed - asynchronous message passing does not need to happen on the same machine, can be passed to any receiver on the same network (Actor model)
    3. Fault-tolerant - graceful error handling through supervisor model

Features

  • Pattern matching
  • Ships with tools like mix and IEx
  • Access to Erlang's ecosystem

Misc

  • Hex documentation / package manager
  • Phoenix framework

Pattern Matching examples