||An Actor-Based Execution Model of an FRP Language for Small-Scale Embedded Systems
An Actor-Based Execution Model of an FRP Language for Small-Scale Embedded Systems
渡部, 卓雄 ,
Watanabe, Takuo ,
岩崎, 勇次Iwasaki, Yuuji
Functional reactive programming (FRP) is a programming paradigm for reactive systems based on declarative abstractions to express time-varying values. Previous works showed that FRP is beneficial to embedded systems. In this paper, we propose a new execution mechanism for an FRP language designed for resource constrained embedded systems. The mechanism is based on the Actor model, a concurrent computation model in which computation is achieved by actors communicating via asynchronous messages. We adopt actors for the run-time representation of time-varying values and event streams. With this representation, we can naturally integrate asynchronous execution mechanism in the runtime of the language.