skip to main content
10.1145/174675.174538acmconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
Article
Free Access

Higher-order concurrent programs with finite communication topology (extended abstract)

Published:01 February 1994Publication History

ABSTRACT

Concurrent ML (CML) is an extension of the functional language Standard ML(SML) with primitives for the dynamic creation of processes and channels and for the communication of values over channels. Because of the powerful abstraction mechanisms the communication topology of a given program may be very complex and therefore an efficient implementation may be facilitated by knowledge of the topology.

This paper presents an analysis for determining when a bounded number of processes and channels will be generated. The analysis proceeds in two stages. First we extend a polymorphic type system for SML to deduce not only the type of CML programs but also their communication behaviour expressed as terms in a new process algebra. Next we develop an analysis that given the communication behaviour predicts the number of processes and channels required during the execution of the CML program. The correctness of the analysis is proved using a subject reduction property for the type system.

References

  1. 1.D. Berry, R. Milner, D.N. Turner: A semantics for ML concurrency primitives. Proceedings of POPL'92, ACM Press, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.A. Giacalone, P. Mishra, S. Prasad: Operational and Algebraic Semantics for Facile: A Syrmnetric Integration of Concurrent and Functional Programming. Proceedings of ICALP '90, SLNCS 443, 1990.Google ScholarGoogle Scholar
  3. 3.J.M. Lucassen, D.K. Gifford: Polymorphic Effect Systems. Proceedings of POPL'88, ACM Press, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.R. Milner: Communication and Concurrency. Prentice Hall, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.R. Milner, M. Tofte, R. Harper: The Definition of Standard ML. MIT Press, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6.F. Nielson: The Typed Lambda-Calculus with First-Class Processes. Proceedings of PARLE'89, SLNCS 366, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.F. Nielson, H.R. Nielson: From CML to Process Algebras. Proceedings of CONCUR'93, SLNCS 715, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.J.H. Reppy: CML: A Higher-order Concurrent Language. Proceedings of the ACM SIGPLAN '91 Conference on Programming Language Design and Implementation, ACM Press, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.J.H. Reppy: Higher-Order Concurrency. Ph.D.- Thesis, Report 92-1285, Department of Computer Science, Cornell University, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10.J.-P. Talpin, P. Jouvelot: The Type and Effect Discipline. Proceedings of LICS'92, 1992.Google ScholarGoogle Scholar
  11. 11.B. Thomsen: A Calculus of Higher Order Communicating Systems. Proceedings of POPL'89, ACM Press, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12.B. Thomsen: Polymorphic sorts and types for concurrent functional programs. Technical report ECRC-93-10, 1993.Google ScholarGoogle Scholar

Index Terms

  1. Higher-order concurrent programs with finite communication topology (extended abstract)

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Conferences
            POPL '94: Proceedings of the 21st ACM SIGPLAN-SIGACT symposium on Principles of programming languages
            February 1994
            492 pages
            ISBN:0897916360
            DOI:10.1145/174675

            Copyright © 1994 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 1 February 1994

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • Article

            Acceptance Rates

            POPL '94 Paper Acceptance Rate39of173submissions,23%Overall Acceptance Rate824of4,130submissions,20%

            Upcoming Conference

            POPL '25

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader