D
D
Dmitry2022-04-07 10:09:21
go
Dmitry, 2022-04-07 10:09:21

Actors and CSPs in Go?

As far as I understand, the essential difference between actors and CSP is that actors have an identifier, and can also receive / send data asynchronously (queue).
In Go, we have buffered channels that allow us to achieve asynchronous data transfer, which means that in the context of Go, an actor is a wrapper over a buffer. channel?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2022-04-07
@Maksclub

the actor is rather a goroutine ( процессin terms of CSP), it’s just that the exchange does not take place with each other with asynchronous messages, but through a channel (one process writes, another reads, while they don’t know about each other)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question