资源感知程序设计中的类型系统:机遇与挑战
Type Systems in Resource-Aware Programming: Opportunities and Challenges
摘要:
类型系统为软件开发人员提供关于其程序正确性属性子集的即时反馈。IDE集成经常利用类型系统来显示错误,建议完成,甚至改进导航。另一方面,了解程序执行的时间和能量消耗需要手动测试。在本文中,我们确定了现有的工作,使用类型系统的能源意识,并定义了一个实用的方法,现有的方法不完全解决的要求。此外,我们还讨论了现有的类型系统如何帮助泛化重构以提高能效。
英文摘要:
Type systems provide software developers immediate feedback about a subset of correctness properties of their programs. IDE integrations often take advantage of type systems to present errors, suggest completions and even improve navigation. On the other hand, understanding the time and energy consumption of the execution of a program requires manual testing. In this paper, we identify existing work on using type systems for energy awareness, and define the requirements for a practical approach, which the existing approaches do not address fully. Furthermore, we also discuss how existing type systems can help generalize refactors for energy-efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。