GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system....

Post on 10-Aug-2020

23 views 0 download

Transcript of GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system....

The soul of Erlang and ElixirSaša Jurić@sasajuric

BEAM languages

ErlangElixirLFE

AlpacaGleam

process... do_something(...) ...

... spawn(fn -> ... end) ...

process A

... foo(...) bar(...) ...

process B

... baz(...) qux(...) ...

send( process_b, some_message )

receive do message -> handle(message) end

process a process b

BEAM (Erlang VM)

BEAM (Erlang VM)

scheduler scheduler scheduler scheduler

BEAM (Erlang VM)

CPU CPU CPU CPU

client

system

client

system

sum(1..3)

6

client

connection

client

connection

client

connection

connection

calculation

spawn

send result & stop

uniformity

simpler developmentsimpler testing

simpler deploymentsimpler maintenance

improved collaboration

start simplego far

50% off using code wm042919au

40% off using code ctwgotochicago19

at manning.com