Skip to main content

2019 | OriginalPaper | Buchkapitel

Types for Progress in Actor Programs

verfasst von : Minas Charalambides, Karl Palmskog, Gul Agha

Erschienen in: Models, Languages, and Tools for Concurrent and Distributed Programming

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Properties in the actor model can be described in terms of the message-passing behavior of actors. In this paper, we address the problem of using a type system to capture liveness properties of actor programs. Specifically, we define a simple actor language in which demands for certain types of messages may be generated during execution, in a manner specified by the programmer. For example, we may want to require that each request to an actor eventually results in a reply. The difficulty lies in that such requests can be generated dynamically, alongside the associated requirements for replies. Such replies might be sent in response to intermediate messages that never arrive, but the property may also not hold for more trivial reasons; for instance, when the code of potential senders of the reply omit the required sending command in some branches of a conditional statement. We show that, for a restricted class of actor programs, a system that tracks typestates can statically guarantee that such dynamically generated requirements will eventually be satisfied.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
The careful reader might observe that the rule does not account for https://static-content.springer.com/image/chp%3A10.1007%2F978-3-030-21485-2_18/MediaObjects/485305_1_En_18_Figbg_HTML.gif being part of the message payload. Accounting for https://static-content.springer.com/image/chp%3A10.1007%2F978-3-030-21485-2_18/MediaObjects/485305_1_En_18_Figbh_HTML.gif in messages poses no additional technical difficulty, and is omitted to simplify the presentation.
 
Literatur
4.
Zurück zum Zitat Agha, G.A.: ACTORS - A Model of Concurrent Computation in Distributed Systems. MIT Press, Cambridge (1990) Agha, G.A.: ACTORS - A Model of Concurrent Computation in Distributed Systems. MIT Press, Cambridge (1990)
16.
Zurück zum Zitat Charalambides, M., Palmskog, K., Agha, G.: Types for progress in actor programs. In: Proceedings of the Workshop on Actors and Active Objects, Torino, Italy (2017) Charalambides, M., Palmskog, K., Agha, G.: Types for progress in actor programs. In: Proceedings of the Workshop on Actors and Active Objects, Torino, Italy (2017)
37.
Zurück zum Zitat Pierce, B.C., Sangiorgi, D.: Typing and subtyping for mobile processes. Math. Struct. Comput. Sci. 6(5), 409–453 (1996)MathSciNetCrossRef Pierce, B.C., Sangiorgi, D.: Typing and subtyping for mobile processes. Math. Struct. Comput. Sci. 6(5), 409–453 (1996)MathSciNetCrossRef
39.
Zurück zum Zitat Puntigam, F.: Concurrent Object-Oriented Programming with Process Types. Habilitationsschrift. Der Andere Verlag, Osnabrück, Germany (2000) Puntigam, F.: Concurrent Object-Oriented Programming with Process Types. Habilitationsschrift. Der Andere Verlag, Osnabrück, Germany (2000)
40.
Zurück zum Zitat Puntigam, F., Peter, C.: Types for active objects with static deadlock prevention. Fundam. Inform. 48(4), 315–341 (2001)MathSciNetMATH Puntigam, F., Peter, C.: Types for active objects with static deadlock prevention. Fundam. Inform. 48(4), 315–341 (2001)MathSciNetMATH
Metadaten
Titel
Types for Progress in Actor Programs
verfasst von
Minas Charalambides
Karl Palmskog
Gul Agha
Copyright-Jahr
2019
DOI
https://doi.org/10.1007/978-3-030-21485-2_18