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

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

计算机科学 > 程序设计语言

arXiv:2002.06184 (cs)
[提交于 2020年2月14日]

标题:Implementing a Language for Distributed Systems: Choices and Experiences with Type Level and Macro Programming in Scala

作者:Pascal Weisenburger, Guido Salvaneschi
查看论文《Implementing a Language for Distributed Systems: Choices and Experiences with Type Level and Macro Programming in Scala》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Multitier programming languages reduce the complexity of developing distributed systems by developing the distributed system in a single coherent code base. The compiler or the runtime separate the code for the components of the distributed system, enabling abstraction over low level implementation details such as data representation, serialization and network protocols. Our ScalaLoci language allows developers to declare the different components and their architectural relation at the type level, allowing static reasoning about about distribution and remote communication and guaranteeing static type safety across components. The compiler splits the multitier program into the component-specific code and automatically generates the communication boilerplate. Communication between components can be modeled by declaratively specifying data flows between components using reactive programming. In this paper, we report on the implementation of our design and our experience with embedding our language features into Scala as a host language. We show how a combination of Scala's advanced type level programming and its macro system can be used to enrich the language with new abstractions. We comment on the challenges we encountered and the solutions we developed for our current implementation and outline suggestions for an improved macro system to support the such use cases of embedding of domain-specific abstractions.
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2002.06184 [cs.PL]
  (或者 arXiv:2002.06184v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2002.06184
期刊参考: The Art, Science, and Engineering of Programming, 2020, Vol. 4, Issue 3, Article 17
相关 DOI: https://doi.org/10.22152/programming-journal.org/2020/4/17

提交历史

来自:Pascal Weisenburger
[v1] 2020年2月14日 星期五 18:58:10 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-02
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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