News for hackers. Stuff that matters.
Re:Flow-Based Programming by bcrosby95 on Wednesday January 20, 2021 @01:57PM (#25850398)
> The FBP model provides implicit backpressure, because of the bounded buffers on the channels. The actor model on the other hand is more loosely coupled and flexible.

Note that this is why people recommend using GenServer's "call" instead of "cast" in Elixir/Erlang by default - it applies a sort of backpressure because call waits for the process to return a result rather than being fire and forget.

It's not exactly the same thing, or as configurable as Go channels, but it is an option.

Re:Flow-Based Programming by pythonaut_16 on Thursday January 21, 2021 @02:30AM (#25856452)
Elixir has several tools built around solving this problem; GenStage being the foundation library and Flow and Broadway at a higher level.
Re:Flow-Based Programming by samuell on Thursday January 21, 2021 @04:51AM (#25857202)
On a related note, there's also work on an FBP implementation in Elixir: https://github.com/pcmarks/ElixirFBP