Understanding the basics of Elixir’s concurrency model

Ilija Eftimov on January 15, 2019

This article was originally published on my blog at ieftimov.com. If you come from an object-oriented background, you might have tried concurren... [Read Full]
markdown guide

Great article Ilija! As someone who has no prior experience in Elixir (just started learning it) nor concurrent programming, I can say that this article was quite helpful to me. I just noticed one minor issue; I think you forgot to put the default clause in example which just loops infinitely.

defmodule Store do
    def start do
        spawn(__MODULE__, :loop, [%{}])

    def loop(state) do
        receive do
            _ ->

Hey Nikola! Thanks for the kind words, I am glad you liked it.

True, it seems like I've skipped the default clause - I will update the article and add it, thanks!

code of conduct - report abuse