goto chicago - the soul of erlang and elixir · beam (erlang vm) cpu cpu cpu cpu. client system....
TRANSCRIPT
![Page 1: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/1.jpg)
The soul of Erlang and ElixirSaša Jurić@sasajuric
![Page 2: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/2.jpg)
BEAM languages
ErlangElixirLFE
AlpacaGleam
…
![Page 3: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/3.jpg)
process... do_something(...) ...
![Page 4: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/4.jpg)
... spawn(fn -> ... end) ...
![Page 5: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/5.jpg)
process A
... foo(...) bar(...) ...
process B
... baz(...) qux(...) ...
![Page 6: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/6.jpg)
send( process_b, some_message )
receive do message -> handle(message) end
process a process b
![Page 7: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/7.jpg)
BEAM (Erlang VM)
![Page 8: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/8.jpg)
BEAM (Erlang VM)
![Page 9: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/9.jpg)
scheduler scheduler scheduler scheduler
BEAM (Erlang VM)
CPU CPU CPU CPU
![Page 10: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/10.jpg)
![Page 11: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/11.jpg)
client
system
![Page 12: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/12.jpg)
client
system
sum(1..3)
6
![Page 13: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/13.jpg)
client
connection
client
connection
client
connection
![Page 14: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/14.jpg)
connection
calculation
spawn
send result & stop
![Page 15: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/15.jpg)
![Page 16: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/16.jpg)
![Page 17: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/17.jpg)
uniformity
simpler developmentsimpler testing
simpler deploymentsimpler maintenance
improved collaboration
![Page 18: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/18.jpg)
start simplego far
![Page 20: GOTO Chicago - The soul of Erlang and Elixir · BEAM (Erlang VM) CPU CPU CPU CPU. client system. client system sum(1..3) 6. client connection client connection client connection](https://reader034.vdocument.in/reader034/viewer/2022042521/5fa67f04953b287e670975e2/html5/thumbnails/20.jpg)