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

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

计算机科学 > 软件工程

arXiv:1906.00367 (cs)
[提交于 2019年6月11日]

标题:A Survey of Asynchronous Programming Using Coroutines in the Internet of Things and Embedded Systems

作者:Bruce Belson, Jason Holdsworth, Wei Xiang, Bronson Philippa
查看论文《A Survey of Asynchronous Programming Using Coroutines in the Internet of Things and Embedded Systems》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Many Internet of Things and embedded projects are event-driven, and therefore require asynchronous and concurrent programming. Current proposals for C++20 suggest that coroutines will have native language support. It is timely to survey the current use of coroutines in embedded systems development. This paper investigates existing research which uses or describes coroutines on resource-constrained platforms. The existing research is analysed with regard to: software platform, hardware platform and capacity; use cases and intended benefits; and the application programming interface design used for coroutines. A systematic mapping study was performed, to select studies published between 2007 and 2018 which contained original research into the application of coroutines on resource-constrained platforms. An initial set of 566 candidate papers were reduced to only 35 after filters were applied, revealing the following taxonomy. The C & C++ programming languages were used by 22 studies out of 35. As regards hardware, 16 studies used 8- or 16-bit processors while 13 used 32-bit processors. The four most common use cases were concurrency (17 papers), network communication (15), sensor readings (9) and data flow (7). The leading intended benefits were code style and simplicity (12 papers), scheduling (9) and efficiency (8). A wide variety of techniques have been used to implement coroutines, including native macros, additional tool chain steps, new language features and non-portable assembly language. We conclude that there is widespread demand for coroutines on resource-constrained devices. Our findings suggest that there is significant demand for a formalised, stable, well-supported implementation of coroutines in C++, designed with consideration of the special needs of resource-constrained devices, and further that such an implementation would bring benefits specific to such devices.
评论: 22 pages, 8 figures, to be published in ACM Transactions on Embedded Computing Systems (TECS)
主题: 软件工程 (cs.SE); 程序设计语言 (cs.PL)
引用方式: arXiv:1906.00367 [cs.SE]
  (或者 arXiv:1906.00367v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1906.00367
期刊参考: ACM Trans. Embed. Comput. Syst. 18, 3, Article 21 (June 2019)
相关 DOI: https://doi.org/10.1145/3319618

提交历史

来自:Bruce Belson
[v1] 2019年6月11日 星期二 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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