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

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.

主站蜘蛛池模板: 沂南县| 乐陵市| 柯坪县| 廊坊市| 阜南县| 义马市| 汉源县| 桐柏县| 岳西县| 桦甸市| 博客| 历史| 江北区| 宿州市| 宜川县| 靖江市| 高阳县| 八宿县| 永安市| 裕民县| 武宁县| 天柱县| 剑阁县| 宁安市| 兴业县| 泰兴市| 永顺县| 克拉玛依市| 城口县| 旅游| 饶阳县| 山西省| 德惠市| 奉新县| 博罗县| 浦北县| 婺源县| 永福县| 肥东县| 上高县| 五峰|