Creating a Language for Writing Real-Time Applications for the Internet of Things

Robert Krook, John Hui, Bo Joel Svensson, Stephen A. Edwards, Koen Claessen · 2022

We describe the development of a new programming language Scoria and its compiler. Scoria is a high-level reactive real-time language based on the sparse synchronous model (SSM), designed to produce time- and power-efficient low-level C code that can run on small IoT devices. While the compiler is not yet in a state where it is meaningful to measure power usage, we carefully profile the timing behaviour and identify bottlenecks that can improve performance. The language and compiler are implemented as an Embedded Domain-Specific Language (EDSL) on top of Haskell.

Read the paper · More papers on PaperTik