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

2021 ◽  
Vol 31 ◽  
Author(s):  
BHARGAV SHIVKUMAR ◽  
JEFFREY MURPHY ◽  
LUKASZ ZIAREK

Abstract 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.

1993 ◽  
Vol 38 (1-5) ◽  
pp. 647-654 ◽  
Author(s):  
Hidenori Nakazato ◽  
Kwei-Jay Lin

2001 ◽  
Vol 34 (22) ◽  
pp. 134-139
Author(s):  
Horst F. Wedde ◽  
Sabine Böhm ◽  
Wolfgang Freund

2013 ◽  
Vol 59 (10) ◽  
pp. 1405-1413 ◽  
Author(s):  
Ruhui Ma ◽  
Wei Ye ◽  
Alei Liang ◽  
Haibing Guan ◽  
Jian Li

2002 ◽  
Vol 63 (3) ◽  
pp. 201-218 ◽  
Author(s):  
LihChyun Shu ◽  
Michal Young

Sign in / Sign up

Export Citation Format

Share Document