Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 955673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:25:11+00:00 2026-05-16T00:25:11+00:00

The actor model is nicely described by Gul Agha on his technical report, Actors:

  • 0

The actor model is nicely described by Gul Agha on his technical report, “Actors: a model of concurrent computation in distributed systems”.

On page 49 he explains the “become” command:

become <expression>

After calling “become X”, an actor will forward all his messages to another actor’s mailbox (X).

I’m not sure, however, how this is implemented (it it’s implemented at all) in languages like Erlang and Scala. Is it somethign I have to code manually? What about efficiency? Agha shows an implementation of a stack using message-passing. Every time a pop or push is performed, one more forwarding link is added to some actor… After hundreds of thousands of operations, I’d expect such an implementation to spend too much time forwarding messages and not doing actual work, unless some nice optimizations were performed under the hood.

So my question is: how is forwarding (or “become”) implemented in typical actor languages like Erlang, Scala (and libraries for other languages)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T00:25:12+00:00Added an answer on May 16, 2026 at 12:25 am

    Look on page 12 (page 26 of the PDF copy I have) of Agha’s paper “Actors: A Model of Concurrent Computation in Distributed System.” “become” is his actor language is how you specify #2, the new behavior for the actor. Forwarding messages to another actor is just one of many possible new behaviors.

    I think with Scala actors you’re in essentially the same boat as with Erlang if you want the forwarding behavior. Under the hood, Scala “react” and “reactWithin” work much like become, because the partial function defined by the react block is the new behavior of the actor, but I’m not sure that similarity is even intentional.

    Most (all?) “actor” implementations deviate fairly substantially from Hewitt’s actor model and Agha’s actor language. IIRC the portion of the language from specifying actors’ behavior in Agha’s langauge isn’t even Turing complete. The language as a whole only becomes Turing complete when you consider a configuration of actors. I’d say the relationship between the actor model and current actor frameworks is kind of like the relationship of object-orientation in SmallTalk to object-orientation in C++. There’s some concept transfer and similar terms, but in the details they’re very, very different.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two models: class Actor(models.Model): name = models.CharField(max_length=30, unique = True) event =
I have a Movies and a Actors table and Casts as join-model. To be
I'm working on a library which implements the actor model on top of Grand
On Ruby on Rails, say, if the Actor model object is Tom Hanks, and
Say I have two models in Django - an Actor and a Movie model
When should the Actor Model be used? It certainly doesn't guarantee deadlock-free environment. Actor
I have a data model that includes element types Stage, Actor, and Form. Logically,
In our company we have started using VS 2010 to model our systems, in
I'm reading about the Actor Model for a presentation and everyone claimes that it
I'm trying to implement an actor model of concurrency in Objective-C, because I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.