Publikationsansicht

Amalgamating Sessions and Methods in Object Oriented Languages with Generics. Theoretical Computer Science (2008)

Abstract
We suggest an amalgamation of communication based programming (centred on sessions) and object oriented programming, whereby sessions between concurrent threads are amalgamated with methods. In our proposal threads consist of the execution of session bodies on objects and communicate with each other through asynchronously sending/receiving objects on channels. The choice on how to respond to a session request is based on the name of the request and the class of the object receiving the request, the choice on how to continue a session is made on the basis of the class of the object sent/received. Sessions can be delegated to other sessions, although session themselves are not first class objects. We demonstrate our ideas through a core language with generic types, SAM g, and an example. We then formalize a small calculus, Feather SAMg, and prove subject reduction and progress. The latter property is notoriously difficult to achieve in concurrent calculi. 1

Details der Publikation
Download http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.80.7064
Quelle http://www.di.unito.it/~dezani/papers/ccddg.pdf
Mitarbeiter CiteSeerX
Archiv CiteSeerX - Scientific Literature Digital Library and Search Engine (United States)
Typ text
Sprache Englisch
Verknüpfungen 10.1.1.109.1141, 10.1.1.135.3391, 10.1.1.45.1431, 10.1.1.45.1355, 10.1.1.62.4696, 10.1.1.107.902, 10.1.1.101.1695, 10.1.1.139.2480