BEAM Concurrency in Action • Sasa Juric • YOW! 2022

  Рет қаралды 10,891

GOTO Conferences

GOTO Conferences

Күн бұрын

Пікірлер: 12
@marianouvalle895
@marianouvalle895 10 ай бұрын
Sasa never disappoints! Thanks for this very clear and informative talk.
@wargreymon2024
@wargreymon2024 10 ай бұрын
This is very clear, and I am liking Beam more.
@ankk98
@ankk98 Жыл бұрын
Elixir & beam are really interesting. I will have to do some projects in it to actually grasp it.
@steholto
@steholto 4 ай бұрын
Concurrent in action is a good name for a book by Sasa Juric
@viktorshinkevich3169
@viktorshinkevich3169 Жыл бұрын
13:17 I think one abstraction for both CPU and IO bound tasks is the superpower here! Just like in Golang, with Go routines, you dont care if its one or another. Colored functions is not a problem and its beautiful.
@akemegbebu7807
@akemegbebu7807 Жыл бұрын
The cancelation feature is so simple but has far reaching implication. Try to do the same in scala or go.... This is amazing
@somosworld
@somosworld 10 ай бұрын
He actually (very casually) described how go-lang handles cancels. Via context that is passed from function to function. Not nearly as elegant. With scala, well good luck.
@viktorshinkevich3169
@viktorshinkevich3169 Жыл бұрын
15:23 another lovely thing here in elixir is that this "new state" is not somehow implicit inner value, but rather an input argument that explicitly passed in the loop(new_state) function call.
@straight-out-of-camera
@straight-out-of-camera Жыл бұрын
this is functional programming
@viktorshinkevich3169
@viktorshinkevich3169 Жыл бұрын
@@straight-out-of-camera and it’s so lovely
@ankursatle
@ankursatle Жыл бұрын
So, manage tasks as processes and allow OS to clean-up naturally. Seems like a clean way. Do messages exchanged go through kernel space facilities and with system mutual exclusion? Does this introduce greater lag? You commented about cooperative cancellation. I would like to contrast your approach and cooperative cancellation: Your pid-based approach: 1. You need to hold on to the pid for the query-id; 2. Cancellation needed further handling for clean-up and side effects. Cooperative cancellation: 1. You need to hold on to the cancellation token for the query-id; 2. Cooperative cancellation cleaned-up after itself and eliminated side-effects. Both sound similar and no less or more hassle than the other. The place of implementation of clean-up seems different. I am happy to be corrected and learn.
@iamhardliner
@iamhardliner Жыл бұрын
One of the big benefits of the actor model is, that you can do all your scheduling in user-space. So messages do not need to go through the kernel at all, which makes it more efficient than similar algorithms using threads.
Rust in Action • Tim McNamara & Richard Feldman • GOTO 2023
50:43
GOTO Conferences
Рет қаралды 53 М.
The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019
42:03
GOTO Conferences
Рет қаралды 349 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Concurrency in Action - Saša Jurić
1:11:57
Elixir Australia
Рет қаралды 4,3 М.
From $erverless To Elixir | Prime Reacts
22:34
ThePrimeTime
Рет қаралды 121 М.
The Secret Language Scaling WhatsApp and Discord
28:32
Theo - t3․gg
Рет қаралды 183 М.
Thinking Concurrency: Dwelling in Erlang and Elixir | Francesco Cesarini
29:09
Against the Grain by Saša Jurić | Code BEAM Europe 2023
37:04
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН