In Erlang, how is the use of registered processes different from global variables in a traditional language?

It seems to me that this is one and the same thing, just registered registered processes are masked by the terminology “actors”.

Update:

Since then, I have seen a mistake in my way of thinking. I assume that since I'm new to Erlang, I used actors in places where they didn't belong at all (is there any name for the template?)

+3
source share
2 answers

, , ( ). , ( , ).

() . , , , . , concurrency (, ).

(, , ):

  • . , , ​​ .
  • , , ,

( ), OTP .app.

+7

- (Pid), ( ).

, , , , . - URI - . , , , .

, . Erlang . Scala, E, Axum , .

+5

Source: https://habr.com/ru/post/1733927/


All Articles