4 ms·
genservers aren’t a functional construct and are specific to languages on the ErlangVM/BEAM. They are more closely related to the Actor Model. https://courses
by weatherlight 4y ago
genservers aren’t a functional construct and are specific to languages on the ErlangVM/BEAM.
They are more closely related to the Actor Model.
https://courses.cs.ut.ee/MTAT.08.024/2020_spring/uploads/Main/B96281_5867_1.pdf https://courses.cs.ut.ee/MTAT.08.024/2020_spring/uploads/Mai...
- h0l0cube 4y agoAh yeah sorry, you're right. It was actually the GGP talking about OTP that inspired me to write the comment, but it is actually relevant to the immutable aspect of Elixir (which is something you don't really see outside FP) as GenServer provides a way to keep state via named processes the way someone might use global variables or singletons.