Workshop FUNARCH 2023 – Author Index |
Contents -
Abstracts -
Authors
|
Crichton, Will |
FUNARCH '23: "Typed Design Patterns for ..."
Typed Design Patterns for the Functional Era
Will Crichton (Brown University, USA) This paper explores how design patterns could be revisited in the era of mainstream functional programming languages. I discuss the kinds of knowledge that ought to be represented as functional design patterns: architectural concepts that are relatively self-contained, but whose entirety cannot be represented as a language-level abstraction. I present four concrete examples embodying this idea: the Witness, the State Machine, the Parallel Lists, and the Registry. Each pattern is implemented in Rust to demonstrate how careful use of a sophisticated type system can better model each domain construct and thereby catch user mistakes at compile-time. @InProceedings{FUNARCH23p40, author = {Will Crichton}, title = {Typed Design Patterns for the Functional Era}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {40--48}, doi = {10.1145/3609025.3609477}, year = {2023}, } Publisher's Version |
|
Ericson, John |
FUNARCH '23: "Stretching the Glasgow Haskell ..."
Stretching the Glasgow Haskell Compiler: Nourishing GHC with Domain-Driven Design
Jeffrey M. Young, Sylvain Henry, and John Ericson (IOG, USA; IOG, France; Obsidian Systems, USA) Over the last decade Haskell has been productized; transitioning from a research language to an industrial strength language ready for large-scale systems. However, the literature on architecting such systems with a pure functional language is scarce. In this paper we contribute to that discourse, by using a large-scale system: the Glasgow Haskell Compiler (GHC), as a guide to more maintainable, flexible and effective, pure functional architectures. We describe, from experience, how GHC as a system, violates the desirable properties that make pure functional programming attractive: immutability, modularity, and composability. With these violations identified, we provide guidance for other functional system architectures; drawing heavily on Domain-Driven Design. We write from an engineering perspective, with the hope that our experience may provide insight into best practices for other pure functional software architects. @InProceedings{FUNARCH23p34, author = {Jeffrey M. Young and Sylvain Henry and John Ericson}, title = {Stretching the Glasgow Haskell Compiler: Nourishing GHC with Domain-Driven Design}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {34--39}, doi = {10.1145/3609025.3609476}, year = {2023}, } Publisher's Version |
|
Gibbons, Jeremy |
FUNARCH '23: "Phases in Software Architecture ..."
Phases in Software Architecture
Jeremy Gibbons, Donnacha Oisín Kidney, Tom Schrijvers, and Nicolas Wu (University of Oxford, UK; Imperial College London, UK; KU Leuven, Belgium) The large-scale structure of executing a computation can often be thought of as being separated into distinct phases. But the most natural form in which to specify that computation may well have a different and conflicting structure. For example, the computation might consist of gathering data from some locations, processing it, then distributing the results back to the same locations; it may be executed in three phases—gather, process, distribute—but mostly conveniently specified orthogonally—by location. We have recently shown that this multi-phase structure can be expressed as a novel applicative functor (also known as an idiom, or lax monoidal functor). Here we summarize the idea from the perspective of software architecture. At the end, we speculate about applications to choreography and multi-tier architecture. @InProceedings{FUNARCH23p29, author = {Jeremy Gibbons and Donnacha Oisín Kidney and Tom Schrijvers and Nicolas Wu}, title = {Phases in Software Architecture}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {29--33}, doi = {10.1145/3609025.3609479}, year = {2023}, } Publisher's Version |
|
Henry, Sylvain |
FUNARCH '23: "Stretching the Glasgow Haskell ..."
Stretching the Glasgow Haskell Compiler: Nourishing GHC with Domain-Driven Design
Jeffrey M. Young, Sylvain Henry, and John Ericson (IOG, USA; IOG, France; Obsidian Systems, USA) Over the last decade Haskell has been productized; transitioning from a research language to an industrial strength language ready for large-scale systems. However, the literature on architecting such systems with a pure functional language is scarce. In this paper we contribute to that discourse, by using a large-scale system: the Glasgow Haskell Compiler (GHC), as a guide to more maintainable, flexible and effective, pure functional architectures. We describe, from experience, how GHC as a system, violates the desirable properties that make pure functional programming attractive: immutability, modularity, and composability. With these violations identified, we provide guidance for other functional system architectures; drawing heavily on Domain-Driven Design. We write from an engineering perspective, with the hope that our experience may provide insight into best practices for other pure functional software architects. @InProceedings{FUNARCH23p34, author = {Jeffrey M. Young and Sylvain Henry and John Ericson}, title = {Stretching the Glasgow Haskell Compiler: Nourishing GHC with Domain-Driven Design}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {34--39}, doi = {10.1145/3609025.3609476}, year = {2023}, } Publisher's Version |
|
Karachalias, Georgios |
FUNARCH '23: "Crème de la Crem: Composable ..."
Crème de la Crem: Composable Representable Executable Machines
Marco Perone and Georgios Karachalias (Independent, Italy; Tweag, France) In this paper we describe how to build software architectures as a composition of state machines, using ideas and principles from the field of Domain-Driven Design. By definition, our approach is modular, allowing one to compose independent subcomponents to create bigger systems, and representable, allowing the implementation of a system to be kept in sync with its graphical representation. In addition to the design itself we introduce the Crem library, which provides a concrete state machine implementation that is both compositional and representable. Crem uses Haskell's advanced type-level features to allow users to specify allowed and forbidden state transitions, and to encode complex state machine---and therefore domain-specific---properties. Moreover, since Crem's state machines are representable, Crem can automatically generate graphical representations of systems from their domain implementations. @InProceedings{FUNARCH23p11, author = {Marco Perone and Georgios Karachalias}, title = {Crème de la Crem: Composable Representable Executable Machines}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {11--19}, doi = {10.1145/3609025.3609480}, year = {2023}, } Publisher's Version |
|
Kidney, Donnacha Oisín |
FUNARCH '23: "Phases in Software Architecture ..."
Phases in Software Architecture
Jeremy Gibbons, Donnacha Oisín Kidney, Tom Schrijvers, and Nicolas Wu (University of Oxford, UK; Imperial College London, UK; KU Leuven, Belgium) The large-scale structure of executing a computation can often be thought of as being separated into distinct phases. But the most natural form in which to specify that computation may well have a different and conflicting structure. For example, the computation might consist of gathering data from some locations, processing it, then distributing the results back to the same locations; it may be executed in three phases—gather, process, distribute—but mostly conveniently specified orthogonally—by location. We have recently shown that this multi-phase structure can be expressed as a novel applicative functor (also known as an idiom, or lax monoidal functor). Here we summarize the idea from the perspective of software architecture. At the end, we speculate about applications to choreography and multi-tier architecture. @InProceedings{FUNARCH23p29, author = {Jeremy Gibbons and Donnacha Oisín Kidney and Tom Schrijvers and Nicolas Wu}, title = {Phases in Software Architecture}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {29--33}, doi = {10.1145/3609025.3609479}, year = {2023}, } Publisher's Version |
|
Knoble, D. Ben |
FUNARCH '23: "Functional Shell and Reusable ..."
Functional Shell and Reusable Components for Easy GUIs
D. Ben Knoble and Bogdan Popa (Independent, USA; Independent, Romania) Some object-oriented GUI toolkits tangle state management with rendering. Functional shells and observable toolkits like GUI Easy simplify and promote the creation of reusable views by analogy to functional programming. We have successfully used GUI Easy on small and large GUI projects. We report on our experience constructing and using GUI Easy and derive from that experience several architectural patterns and principles for building functional programs out of imperative systems. @InProceedings{FUNARCH23p20, author = {D. Ben Knoble and Bogdan Popa}, title = {Functional Shell and Reusable Components for Easy GUIs}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {20--28}, doi = {10.1145/3609025.3609478}, year = {2023}, } Publisher's Version |
|
Perez, Ivan |
FUNARCH '23: "Types that Change: The Extensible ..."
Types that Change: The Extensible Type Design Pattern
Ivan Perez (KBR @ NASA Ames Research Center, USA) Compilers are often structured as chains of transformations, from source code to object code, through multiple intermediate representations. The existence of different representations of the same program presents challenges both for code maintenance and in terms of architecture. The types used to capture programs at multiple stages may be similar but not interchangeable, leading to code duplication. Methods to alleviate such duplication often lead to violations of software engineering principles of abstraction and encapsulation. This pearl discusses a design pattern where an algebraic data type (ADT) is extended with an argument type function that is applied to every component of the ADT. The resulting parametric type can be instantiated with multiple type functions, each providing a different feature. We demonstrate the versatility of this pattern by capturing notions of traceability and error recovery, and demonstrate that it can also be used to selectively modify existing types, as well as to extend them. Our proposal has been validated by applying it to a real-world use case with very good results. @InProceedings{FUNARCH23p49, author = {Ivan Perez}, title = {Types that Change: The Extensible Type Design Pattern}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {49--62}, doi = {10.1145/3609025.3609475}, year = {2023}, } Publisher's Version |
|
Perone, Marco |
FUNARCH '23: "Crème de la Crem: Composable ..."
Crème de la Crem: Composable Representable Executable Machines
Marco Perone and Georgios Karachalias (Independent, Italy; Tweag, France) In this paper we describe how to build software architectures as a composition of state machines, using ideas and principles from the field of Domain-Driven Design. By definition, our approach is modular, allowing one to compose independent subcomponents to create bigger systems, and representable, allowing the implementation of a system to be kept in sync with its graphical representation. In addition to the design itself we introduce the Crem library, which provides a concrete state machine implementation that is both compositional and representable. Crem uses Haskell's advanced type-level features to allow users to specify allowed and forbidden state transitions, and to encode complex state machine---and therefore domain-specific---properties. Moreover, since Crem's state machines are representable, Crem can automatically generate graphical representations of systems from their domain implementations. @InProceedings{FUNARCH23p11, author = {Marco Perone and Georgios Karachalias}, title = {Crème de la Crem: Composable Representable Executable Machines}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {11--19}, doi = {10.1145/3609025.3609480}, year = {2023}, } Publisher's Version |
|
Popa, Bogdan |
FUNARCH '23: "Functional Shell and Reusable ..."
Functional Shell and Reusable Components for Easy GUIs
D. Ben Knoble and Bogdan Popa (Independent, USA; Independent, Romania) Some object-oriented GUI toolkits tangle state management with rendering. Functional shells and observable toolkits like GUI Easy simplify and promote the creation of reusable views by analogy to functional programming. We have successfully used GUI Easy on small and large GUI projects. We report on our experience constructing and using GUI Easy and derive from that experience several architectural patterns and principles for building functional programs out of imperative systems. @InProceedings{FUNARCH23p20, author = {D. Ben Knoble and Bogdan Popa}, title = {Functional Shell and Reusable Components for Easy GUIs}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {20--28}, doi = {10.1145/3609025.3609478}, year = {2023}, } Publisher's Version |
|
Schrijvers, Tom |
FUNARCH '23: "Phases in Software Architecture ..."
Phases in Software Architecture
Jeremy Gibbons, Donnacha Oisín Kidney, Tom Schrijvers, and Nicolas Wu (University of Oxford, UK; Imperial College London, UK; KU Leuven, Belgium) The large-scale structure of executing a computation can often be thought of as being separated into distinct phases. But the most natural form in which to specify that computation may well have a different and conflicting structure. For example, the computation might consist of gathering data from some locations, processing it, then distributing the results back to the same locations; it may be executed in three phases—gather, process, distribute—but mostly conveniently specified orthogonally—by location. We have recently shown that this multi-phase structure can be expressed as a novel applicative functor (also known as an idiom, or lax monoidal functor). Here we summarize the idea from the perspective of software architecture. At the end, we speculate about applications to choreography and multi-tier architecture. @InProceedings{FUNARCH23p29, author = {Jeremy Gibbons and Donnacha Oisín Kidney and Tom Schrijvers and Nicolas Wu}, title = {Phases in Software Architecture}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {29--33}, doi = {10.1145/3609025.3609479}, year = {2023}, } Publisher's Version |
|
Wehr, Stefan |
FUNARCH '23: "A Software Architecture Based ..."
A Software Architecture Based on Coarse-Grained Self-Adjusting Computations
Stefan Wehr (Offenburg University of Applied Sciences, Germany) Ensuring that software applications present their users the most recent version of data is not trivial. Self-adjusting computations are a technique for automatically and efficiently recomputing output data whenever some input changes. This article describes the software architecture of a large, commercial software system built around a framework for coarse-grained self-adjusting computations in Haskell. It discusses advantages and disadvantages based on longtime experience. The article also presents a demo of the system and explains the API of the framework. @InProceedings{FUNARCH23p1, author = {Stefan Wehr}, title = {A Software Architecture Based on Coarse-Grained Self-Adjusting Computations}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {1--10}, doi = {10.1145/3609025.3609481}, year = {2023}, } Publisher's Version Published Artifact Artifacts Available |
|
Wu, Nicolas |
FUNARCH '23: "Phases in Software Architecture ..."
Phases in Software Architecture
Jeremy Gibbons, Donnacha Oisín Kidney, Tom Schrijvers, and Nicolas Wu (University of Oxford, UK; Imperial College London, UK; KU Leuven, Belgium) The large-scale structure of executing a computation can often be thought of as being separated into distinct phases. But the most natural form in which to specify that computation may well have a different and conflicting structure. For example, the computation might consist of gathering data from some locations, processing it, then distributing the results back to the same locations; it may be executed in three phases—gather, process, distribute—but mostly conveniently specified orthogonally—by location. We have recently shown that this multi-phase structure can be expressed as a novel applicative functor (also known as an idiom, or lax monoidal functor). Here we summarize the idea from the perspective of software architecture. At the end, we speculate about applications to choreography and multi-tier architecture. @InProceedings{FUNARCH23p29, author = {Jeremy Gibbons and Donnacha Oisín Kidney and Tom Schrijvers and Nicolas Wu}, title = {Phases in Software Architecture}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {29--33}, doi = {10.1145/3609025.3609479}, year = {2023}, } Publisher's Version |
|
Young, Jeffrey M. |
FUNARCH '23: "Stretching the Glasgow Haskell ..."
Stretching the Glasgow Haskell Compiler: Nourishing GHC with Domain-Driven Design
Jeffrey M. Young, Sylvain Henry, and John Ericson (IOG, USA; IOG, France; Obsidian Systems, USA) Over the last decade Haskell has been productized; transitioning from a research language to an industrial strength language ready for large-scale systems. However, the literature on architecting such systems with a pure functional language is scarce. In this paper we contribute to that discourse, by using a large-scale system: the Glasgow Haskell Compiler (GHC), as a guide to more maintainable, flexible and effective, pure functional architectures. We describe, from experience, how GHC as a system, violates the desirable properties that make pure functional programming attractive: immutability, modularity, and composability. With these violations identified, we provide guidance for other functional system architectures; drawing heavily on Domain-Driven Design. We write from an engineering perspective, with the hope that our experience may provide insight into best practices for other pure functional software architects. @InProceedings{FUNARCH23p34, author = {Jeffrey M. Young and Sylvain Henry and John Ericson}, title = {Stretching the Glasgow Haskell Compiler: Nourishing GHC with Domain-Driven Design}, booktitle = {Proc.\ FUNARCH}, publisher = {ACM}, pages = {34--39}, doi = {10.1145/3609025.3609476}, year = {2023}, } Publisher's Version |
14 authors
proc time: 2.52