goto chicago - the soul of erlang and elixir · beam (erlang vm) cpu cpu cpu cpu. client system....
Post on 10-Aug-2020
19 Views
Preview:
TRANSCRIPT
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
top related