Scala-gopher:使用惯用Scala的CSP风格编程技术
Scala-gopher: CSP-style programming techniques with idiomatic Scala
摘要:
Cala-gopher是一个库级的Scala实现,用于实现通信序列处理结构:通道、选择器(类似于Limbo或Go中的类比结构)、晶片机(类似于Occam proc)和一组基于akka和SIP-22的高级操作。该框架通过惯用API将CSP风格的编程集成到标准Scala并发环境中。这允许使用Go世界中众所周知的通信模式,但在主流Scala并发框架中不容易表达,以及用于组成计算构建器的代数方法。此外,我们还想在编译器和库生态系统发展的背景下讨论当前的实现问题和未来的发展方向。
英文摘要:
Cala-gopher is a library-level Scala implementation of communication sequence process constructs: channels, selectors (similar to analogical constructs in Limbo or Go) transputers (similar to Occam proc) and a set of high-level operations on top of akka and SIP-22 async. The framework integrates CSP-style programming into standard Scala concurrency environment via idiomatic API. This allows usage of communication patterns, well known in Go world, but not easy expressable in mainstream scala concurrency frameworks, along with algebraic approach for composing computation builders. Besides, we want to discuss current implementation issues and future directions in the context of evolving of compiler and libraries ecosystem.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。