Objects vs. Actorsby@jmills
535 reads

Objects vs. Actors

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

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.
featured image - Objects vs. Actors
jack mills HackerNoon profile picture

@jmills

jack mills

Receive Stories from @jmills

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa