论文标题
使并发功能
Making Concurrency Functional
论文作者
论文摘要
该文章在计算中两个主要范式之间桥接了从输入到输出的基础计算以及在进行过程中计算对环境反应的互动式的基础计算。任何相互作用理论的核心是系统与其环境之间的二分法。并发的游戏和策略通过播放器移动(系统的事件)和对手移动(环境的事件)之间的区别,以分布式的方式在本地以分布式的方式很好地详细地解决了二分法。一种功能性方法必须通过输入和输出之间的钝区别来更加巧妙地处理二分法。这导致了各种功能方法,专门针对特定的交互式需求。通过并发游戏,我们可以更清楚地看到是什么分开并连接了不同的范式,并展示了:: *将功能提升为策略;并发游戏的“ Scott Order”固有的固有性在将功能依赖性转变为因果关系依赖性方面起着关键作用。 *功能编程和逻辑的几种范式自然而然地作为并发游戏的子类别出现,包括稳定的域理论;非确定数据流;相互作用的几何形状;辩证神解释;镜头和光学元件;以及它们扩展到依赖镜头和光学元件中的容器。 *将策略的丰富(例如概率,量子或实数计算)转移到功能案例中。
The article bridges between two major paradigms in computation, the functional, at basis computation from input to output, and the interactive, where computation reacts to its environment while underway. Central to any compositional theory of interaction is the dichotomy between a system and its environment. Concurrent games and strategies address the dichotomy in fine detail, very locally, in a distributed fashion, through distinctions between Player moves (events of the system) and Opponent moves (those of the environment). A functional approach has to handle the dichotomy much more ingeniously, through its blunter distinction between input and output. This has led to a variety of functional approaches, specialised to particular interactive demands. Through concurrent games we can more clearly see what separates and connects the differing paradigms, and show how: * to lift functions to strategies; the "Scott order" intrinsic to concurrent games plays a key role in turning functional dependency to causal dependency. * several paradigms of functional programming and logic arise naturally as subcategories of concurrent games, including stable domain theory; nondeterministic dataflow; geometry of interaction; the dialectica interpretation; lenses and optics; and their extensions to containers in dependent lenses and optics. * to transfer enrichments of strategies (such as to probabilistic, quantum or real-number computation) to functional cases.