goto chicago - the soul of erlang and elixir · beam (erlang vm) cpu cpu cpu cpu. client system....

Post on 10-Aug-2020

19 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

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

50% off using code wm042919au

40% off using code ctwgotochicago19

at manning.com

top related