Get the latest tech news

Erlang's not about lightweight processes and message passing (2023)


’s not about lightweight processes and message passing… I used to think that the big idea of Erlang is its lightweight processes and message passing. Over the last couple of years I’ve realised that there’s a bigger insight to be had, and in this post I’d like to share it with you.

I highly commend reading his thesis and forming your own opinion, but to me it’s clear that the big idea there isn’t lightweight processes and message passing, but rather the generic components which in Erlang are called behaviours. At best one might be able to claim that lightweight processes and supervisors are the key mechanisms at play, but I think it would be more honest to recognise the structure that behaviours provide and how that ultimately leads to reliable software. This begs the question: why aren’t language and library designers stealing the structure behind Erlang’s behaviours, rather than copying the ideas of lightweight processes and message passing?

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Message

Message

Photo of Erlang

Erlang

Related news:

News photo

Message stuck in Kafka queue for months delivered, writes bestselling novel

News photo

Learn You Some Erlang for Great Good (2013)

News photo

Gleam, Coming from Erlang