Creating robust real-time embedded software is critical in combining the physical world with computing, such as in consumer electronics or robotics. One challenge is the complexity of dealing with time together with implementation details that often end up implicitly determining the temporal behavior of the program. In this paper we suggest deconstructing a program into two separate aspects, the functional implementa- tion and a temporal pattern, each expressed separately in a different language. This separation enables inde- pendent specification, analysis and prediction of the temporal behavior without regard to the implementa- tion. Meanwhile the implementation is optimized for platforms with different capabilities through a scalable programming model that automatically adapts the execution to the level of concurrency a platform can support. Finally the aspects are put together to create a working system. This paper presents the use of futures and partitures to achieve predictability and performance in embedded systems. A new real-time scheduler for partiture based futures execution is introduced, along with multiple implementations, including one for an 8-bit micro- controller. The paper explains how to create, model, and execute futures and partitures.
Citation:
Johannes Helander, Risto Serg, Margus Veanes, Pritam Roy, "Adapting Futures: Scalability for Real-World Computing," rtss, pp.105-118, 28th IEEE International Real-Time Systems Symposium (RTSS 2007), 2007