Long-lived Processes in Elixir

Notes

This is something that never ceases to amaze me about Elixir:

Tail call (or last call) optimization is the trick to having long-lived processes.

In other languages, we’d get a stack overflow.

In Elixir, we get a process that can hold state and send/receive messages. 🤩

Want the latest Elixir Streams in your inbox?

    No spam. Unsubscribe any time.