skip to main content
10.1145/1022471.1022472acmconferencesArticle/Chapter ViewAbstractPublication PagesicfpConference Proceedingsconference-collections
Article

EX11: a GUI in a concurrent functional language

Published:22 September 2004Publication History

ABSTRACT

In this paper, I describe how GUIs can be made from collections of communicating parallel processes. The paper describes EX11 which is an Erlang binding to the X protocol. I describe the X windows programming model and show how X protocol messages can be naturally mapped onto Erlang messages. The code to perfom this mapping makes extensive use of the Erlang bit syntax and as such provides a good example of the use of the bit syntax to implement a reasonably complex protocol. I give code examples which make use of the EX11 widget library and show how the widget library itself is implemented.

References

  1. Armstrong, J., Virding, R., Wikström, C., and Williams. M. Concurrent Programming in Erlang, Prentice-Hall, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Gettys, J., Karlton, P. L., McGregor, S. The X Window System, Version 11. Software - Practice and Experience, Volume 20, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Nye, Adrian. X window system -- Volume 0: X Protocol Reference Manual, O'Reilly & Associates. 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Nye, A. X window system -- Volume 1: Xlib Programming Manual. O'Reilly & Associates. 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Nye, A. X window system -- Volume 2: Xlib Reference manual. O'Reilly & Associates. 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Nye, A., and O'Reilly, T. X window system -- Volume 4M: X Toolkit Intrinsics Programming Manual. O'Reilly & Associates. 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Cutler, E., Gilly, D., O'Reilly, T. The X window system in a nutshell. O'Reilly & Associates. 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Pike, R. A Concurrent Window System Comp. Sys., Spring 1989, Vol 2 #2, pp. 133--153.Google ScholarGoogle Scholar
  9. Huss, H., Ihrén, J., SCIX -- A scheme interface to X windows. Royal Institute of Technology, Sweden, 1990.Google ScholarGoogle Scholar
  10. Reppy, J. H. Higher Order Concurrency -- Ph.D. Thesis. Cornell University 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. EX11: a GUI in a concurrent functional language

        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
          ERLANG '04: Proceedings of the 2004 ACM SIGPLAN workshop on Erlang
          September 2004
          78 pages
          ISBN:1581139187
          DOI:10.1145/1022471

          Copyright © 2004 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: 22 September 2004

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Acceptance Rates

          Overall Acceptance Rate51of68submissions,75%

          Upcoming Conference

          ICFP '24
        • Article Metrics

          • Downloads (Last 12 months)1
          • Downloads (Last 6 weeks)0

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader