在数字逻辑中利用列表和算术扩展无CPU并行执行lambda演算
Extending CPU-less parallel execution of lambda calculus in digital logic with lists and arithmetic
AI总结:
本研究通过在数字逻辑中引入列表和算术扩展,改进无CPU并行执行lambda演算的效率和实用性。
摘要:
计算机体系结构正在寻找新的方法,以利用日益可用的数字逻辑,而无需CPU基于设计的串行瓶颈。最近的工作已经展示了一种完全无CPU的方法来执行函数程序,通过利用其内在的并行性,将它们直接编译成并行数字逻辑。本工作使用lambda演算作为超简单的函数语言来证明概念,但由于纯lambda演算众所周知的效率低下,这种方法在现实编程中是不切实际的。在语言设计中,通常会通过添加额外的原始语素来扩展基本的lambda演算,以快捷完成诸如算术和列表等常见任务。在本工作中,我们基于之前的研究所探讨如何将这些扩展应用于无CPU函数执行的数字逻辑中,目标是推动该方法向实用实现迈进。我们提出了一组结构和算法用于表示新的原始语素,描述了系统选择、实现和评估它们的系统过程,并展示了执行时间和节点使用方面的显著减少。这些改进是在一个开源系统中实现的,该系统被证明能够正确评估一系列代表性的lambda表达式。
英文摘要:
Computer architecture is searching for new ways to make use of increasingly available digital logic without the serial bottlenecks of CPU-based design. Recent work has demonstrated a fully CPU-less approach to executing functional programs, by exploiting their inherent parallelisability to compile them directly into parallel digital logic. This work uses lambda-calculus as a hyper simple functional language to prove the concept, but is impractical for real-world programming due to the well-known inefficiencies of pure lambda$-calculus. It is common in language design to extend basic lambda-calculus with additional primitives to short-cut common tasks such as arithmetic and lists. In this work, we build upon our previous research to examine how such extensions may be applied to CPU-less functional execution in digital logic, with the objective of advancing the approach toward practical implementation. We present a set of structures and algorithms for representing new primitives, describe a systematic process for selecting, implementing, and evaluating them, and demonstrate substantial reductions in execution time and node usage. These improvements are implemented in an open-source system, which is shown to correctly evaluate a range of representative lambda expressions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。