Dynamic applications from the ground up

  • Authors:
  • Don Stewart;Manuel M. T. Chakravarty

  • Affiliations:
  • University of New South Wales;University of New South Wales

  • Venue:
  • Proceedings of the 2005 ACM SIGPLAN workshop on Haskell
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Some Lisp programs such as Emacs, but also the Linux kernel (when fully modularised) are mostly dynamic; i.e., apart from a small static core, the significant functionality is dynamically loaded. In this paper, we explore fully dynamic applications in Haskell where the static core is minimal and code is hot swappable. We demonstrate the feasibility of this architecture by two applications: Yi, an extensible editor, and Lambdabot, a plugin-based IRC robot. Benefits of the approach include hot swappable code and sophisticated application configuration and extension via embedded DSLs. We illustrate both benefits in detail at the example of a novel embedded DSL for editor interfaces.