Hostname: page-component-77f85d65b8-hzqq2 Total loading time: 0 Render date: 2026-04-20T14:31:07.655Z Has data issue: false hasContentIssue false

Real-time MLton: A Standard ML runtime for real-time functional programs

Published online by Cambridge University Press:  31 August 2021

BHARGAV SHIVKUMAR
Affiliation:
University at Buffalo, Buffalo, NY 14260, USA (e-mails: bhargavs@buffalo.edu, jcmurphy@buffalo.edu, lziarek@buffalo.edu)
JEFFREY MURPHY
Affiliation:
University at Buffalo, Buffalo, NY 14260, USA (e-mails: bhargavs@buffalo.edu, jcmurphy@buffalo.edu, lziarek@buffalo.edu)
LUKASZ ZIAREK
Affiliation:
University at Buffalo, Buffalo, NY 14260, USA (e-mails: bhargavs@buffalo.edu, jcmurphy@buffalo.edu, lziarek@buffalo.edu)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

There is a growing interest in leveraging functional programming languages in real-time and embedded contexts. Functional languages are appealing as many are strictly typed, amenable to formal methods, have limited mutation, and have simple but powerful concurrency control mechanisms. Although there have been many recent proposals for specialized domain-specific languages for embedded and real-time systems, there has been relatively little progress on adapting more general purpose functional languages for programming embedded and real-time systems. In this paper, we present our current work on leveraging Standard ML (SML) in the embedded and real-time domains. Specifically, we detail our experiences in modifying MLton, a whole-program optimizing compiler for SML, for use in such contexts. We focus primarily on the language runtime, reworking the threading subsystem, object model, and garbage collector. We provide preliminary results over a radar-based aircraft collision detector ported to SML.

Information

Type
Research Article
Copyright
© CSIRO and The Author(s), 2021. Published by Cambridge University Press.
Submit a response

Discussions

No Discussions have been published for this article.