This is a really great video. I've tried understanding ref capabilities at various times to no avail. This video explains them clearly and simply. In my opinion, it should be linked to from the PonyLang documentation.
@aleksandersabak
2 жыл бұрын
That's a great solution! Now a new question arises: how to implement a system of messages between threads?
@vinceplatt8468
Жыл бұрын
I think that's the wrong question. The question is how to implement a system of messages between actors, many of which can run on a given thread. And that is a problem that Pony solves. Indirectly, it also solves the question of how to pass messages between threads, but that's not as useful to have once you have actors with the ref caps.
Пікірлер: 3