Skip to content
0:00 / 0:00

#elixir#elm#captheorem

Tomasz Kowal - Elixir and Elm - the perfect couple (Lambda Days 2016)

Erlang Solutions

18K subscribers • 48 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Tomasz Kowal
  • May be out of date. Uploaded 10 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

22K views10 years ago1 recommendation

Programming languagesWeb developmentElixir and ErlangVue, Svelte, Angular and othersSoftware architecture

Tomasz Kowal compares the design decisions of Elm and Elixir, explaining how CAP theorem constraints shape their state management.

Slides and more info: lambdadays.org/lambdadays2016/tomasz-kowal I will compare design decisions between Elm and Elixir programming languages. Elm forces programmer to explicitly design all the flows in your program as a static one-way graph of dependencies between components. This makes it easy to debug and reason about programs. Erlang VM lets programmer create dynamic flows, which is a much more complex approach. I will show, how this is a direct consequence of langauge constraints (high availability and distribution) using CAP theorem. Elm doesn't have to deal with partitioning and a good practice is to keep all the state in one place. Everything is consistent and available, because there is no partitioning. Elixir has to be available and handle network splits, so it needs to deal with inconsistencies and dynamic flows. I will show how OTP design patterns make it easier for programmer to work with that problem.

Why it's here

1 person recommends this

u/tomekowalin r/elixir • Recommends

Tomasz Kowal - Elixir and Elm - the perfect couple (Lambda Days 2016)