官术网_书友最值得收藏!

Implementation challenges

Perhaps the most defining characteristic of classical FRP is the use of continuous time.

This means that FRP assumes that signals are changing all the time, even if their value is still the same, leading to needless recomputation. For example, the mouse position signal will trigger updates to the application dependency graph—like the one we saw previously for the mean program—even when the mouse is stationary.

Another problem is that classical FRP is synchronous by default: events are processed in order, one at a time. Harmless at first, this can cause delays, which would render an application unresponsive should an event take substantially longer to process.

Paul Hudak and others furthered research on higher-order FRP[7][8] to address these issues, but that came at the cost of expressivity.

The other formulations of FRP aim to overcome these implementation challenges.

Throughout the rest of this chapter, I'll be using the terms signals and behaviors interchangeably.

主站蜘蛛池模板: 绥宁县| 芜湖市| 墨玉县| 大宁县| 华池县| 临洮县| 上栗县| 玛纳斯县| 安仁县| 台北市| 民县| 灵武市| 兰考县| 荔波县| 六枝特区| 青田县| 佛冈县| 巍山| 泸州市| 靖西县| 安国市| 象州县| 万年县| 乐清市| 丰都县| 苗栗市| 肃南| 峨边| 咸阳市| 建始县| 抚宁县| 荥阳市| 和政县| 宝山区| 慈利县| 通州市| 江山市| 静海县| 柏乡县| 定兴县| 马龙县|