Objects vs. Actors

Written by jmills | Published 2020/10/04
Tech Story Tags: object-oriented | concurrent-programming | software-architecture | object-oriented-language | objects-vs.-actors | object-vs.-actor | hackernoon-top-story | actor-oriented-language

TLDR Objects and actors are orthogonal abstractions and a language may implement both – Pony is an example of Pony. This paper will use Erlang as the prototype for actors in order to draw a sharper contrast between objects and actors. An object encapsulates one or more public methods, zero or more private methods, and internal state. The shared mutable mutable state problem may occur when two or more instances of methods within the same object are simultaneously live, i.e. have frames on the same stack.via the TL;DR App

no story

Published by HackerNoon on 2020/10/04