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

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.

主站蜘蛛池模板: 阿城市| 河北区| 鸡泽县| 客服| 文安县| 洛阳市| 噶尔县| 白沙| 张家口市| 曲阳县| 龙井市| 五河县| 洪洞县| 察隅县| 麻江县| 兴业县| 屯昌县| 嘉善县| 建湖县| 晴隆县| 岳阳市| 长岭县| 云阳县| 浦城县| 兰坪| 洪江市| 铜山县| 神木县| 朝阳县| 临桂县| 天津市| 桦南县| 平乐县| 同仁县| 永顺县| 巴塘县| 大理市| 高尔夫| 翁牛特旗| 苍南县| 嘉祥县|