跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 分布式、并行与集群计算

arXiv:2012.08626 (cs)
[提交于 2020年12月15日 (v1),最后修订于 2023年1月17日 (此版本, v5)]

标题:Computation Against a Neighbour: Addressing Large-Scale Distribution and Adaptivity with Functional Programming and Scala

作者:Giorgio Audrito, Roberto Casadei, Ferruccio Damiani, Mirko Viroli
查看论文《Computation Against a Neighbour: Addressing Large-Scale Distribution and Adaptivity with Functional Programming and Scala》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Recent works in contexts like the Internet of Things (IoT) and large-scale Cyber-Physical Systems (CPS) propose the idea of programming distributed systems by focussing on their global behaviour across space and time. In this view, a potentially vast and heterogeneous set of devices is considered as an "aggregate" to be programmed as a whole, while abstracting away the details of individual behaviour and exchange of messages, which are expressed declaratively. One such a paradigm, known as aggregate programming, builds on computational models inspired by field-based coordination. Existing models such as the field calculus capture interaction with neighbours by a so-called "neighbouring field" (a map from neighbours to values). This requires ad-hoc mechanisms to smoothly compose with standard values, thus complicating programming and introducing clutter in aggregate programs, libraries and domain-specific languages (DSLs). To address this key issue we introduce the novel notion of "computation against a neighbour", whereby the evaluation of certain subexpressions of the aggregate program are affected by recent corresponding evaluations in neighbours. We capture this notion in the neighbours calculus (NC), a new field calculus variant which is shown to smoothly support declarative specification of interaction with neighbours, and correspondingly facilitate the embedding of field computations as internal DSLs in common general-purpose programming languages -- as exemplified by a Scala implementation, called ScaFi. This paper formalises NC, thoroughly compares it with respect to the classic field calculus, and shows its expressiveness by means of a case study in edge computing, developed in ScaFi.
主题: 分布式、并行与集群计算 (cs.DC); 计算机科学中的逻辑 (cs.LO); 程序设计语言 (cs.PL)
引用方式: arXiv:2012.08626 [cs.DC]
  (或者 arXiv:2012.08626v5 [cs.DC] 对于此版本)
  https://doi.org/10.48550/arXiv.2012.08626
期刊参考: Logical Methods in Computer Science, Volume 19, Issue 1 (January 18, 2023) lmcs:6989
相关 DOI: https://doi.org/10.46298/lmcs-19(1:6)2023

提交历史

来自:Roberto Casadei
[v1] 2020年12月15日 星期二 21:33:55 UTC
[v2] 2022年5月23日 星期一 12:06:25 UTC
[v3] 2022年10月12日 星期三 23:20:18 UTC
[v4] 2022年10月19日 星期三 07:14:19 UTC
[v5] 2023年1月17日 星期二 10:23:14 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LO
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-01
切换浏览方式为:
cs
cs.DC
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站