arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.14133cs.PL
收藏

扩展摘要:基于任务的并行性的面向类型编程

Extended abstract: Type oriented programming for task based parallelism

Nick Brown, Ludovic Capelli, J. Mark Bull

摘要:

编写并行代码是困难的,并且在抽象和性能之间表现出基本的权衡。设计用于简化并行性复杂性的高级语言抽象做出了某些影响性能和可伸缩性的假设。另一方面,低级语言提供了许多优化的机会,需要深入的知识和程序员考虑并行性的棘手细节。需要一种方法,可以弥合差距,并提供编程的便利性和控制和优化的机会。通过可选地用附加的类型信息装饰代码,程序员可以指导编译器做出某些决定,或者依赖于合理的默认选择。

英文摘要:

Writing parallel codes is difficult and exhibits a fundamental trade-off between abstraction and performance. The high level language abstractions designed to simplify the complexities of parallelism make certain assumptions that impacts performance and scalability. On the other hand lower level languages, providing many opportunities for optimisation, require in-depth knowledge and the programmer to consider tricky details of parallelism. An approach is required which can bridge the gap and provide both the ease of programming and opportunities for control and optimisation. By optionally decorating their codes with additional type information, programmers can either direct the compiler to make certain decisions or rely on sensible default choices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑