Remix.run Logo
dbt00 8 hours ago

What about a more general message-passing mailbox approach? This works really well in the Erlang/gen_server/gen_fsm world. (and in plenty of other contexts, but Erlang's OTP is still some of the best, simplest incarnation of these things)

rciorba 2 hours ago | parent | next [-]

I mean, the "one-queue per consumer" they eventually ended up with, is basically an inbox that the sequential process reads from.

scuff3d 5 hours ago | parent | prev [-]

“The problem with most programming languages is that they implement concurrency as libraries on top of sequential languages. Erlang is a concurrent language at the core; everything else is just a poor imitation implemented in libraries.” -Joe Armstrong