Asynchronous functional reactive programming for GUIs
-
- Evan Czaplicki
- Harvard University, Cambridge, Massachusetts, USA
-
- Stephen Chong
- Harvard University, Cambridge, Massachusetts, USA
Description
<jats:p> Graphical user interfaces (GUIs) mediate many of our interactions with computers. Functional Reactive Programming (FRP) is a promising approach to GUI design, providing high-level, declarative, compositional abstractions to describe user interactions and time-dependent computations. We present Elm, a practical FRP language focused on easy creation of responsive GUIs. Elm has two major features: simple declarative support for <jats:italic>Asynchronous FRP</jats:italic> ; and purely functional graphical layout. </jats:p> <jats:p>Asynchronous FRP allows the programmer to specify when the global ordering of event processing can be violated, and thus enables efficient concurrent execution of FRP programs; long-running computation can be executed asynchronously and not adversely affect the responsiveness of the user interface.</jats:p> <jats:p>Layout in Elm is achieved using a purely functional declarative framework that makes it simple to create and combine text, images, and video into rich multimedia displays.</jats:p> <jats:p>Together, Elm's two major features simplify the complicated task of creating responsive and usable GUIs.</jats:p>
Journal
-
- ACM SIGPLAN Notices
-
ACM SIGPLAN Notices 48 (6), 411-422, 2013-06-16
Association for Computing Machinery (ACM)
- Tweet
Details 詳細情報について
-
- CRID
- 1362825893882290432
-
- ISSN
- 15581160
- 03621340
-
- Data Source
-
- Crossref