如何做到正确、懒惰和高效?
How to be correct, lazy and efficient ?
摘要:
本文介绍了Lambsort,一个在巴黎第十一大学研究实验室(Orsay)实现的lazy Lisp解释器。Lambsort是在研究程序设计语言的语义和它们的实现之间的关系的过程中设计的;它被用来证明在Lisp领域,语义正确性与效率是一致的,这与人们经常声称的相反。本文的第一部分概述了Lisp遇到的众所周知的语义困难以及Lambounge的非正式介绍;它表明Lisp遇到的困难不会出现在Lambounge中。第二部分是关于实施模式的效率。它解释了为什么Lambalent比以前的模型更适合延迟评估。本节最后给出了比较执行时间表。
英文摘要:
This paper is an introduction to Lambdix, a lazy Lisp interpreter implemented at the Research Laboratory of Paris XI University (Laboratoire de Recherche en Informatique, Orsay). Lambdix was devised in the course of an investigation into the relationship between the semantics of programming languages and their implementation; it was used to demonstrate that in the Lisp domain, semantic correctness is consistent with efficiency, contrary to what has often been claimed. The first part of the paper is an overview of well-known semantic difficulties encountered by Lisp as well as an informal presentation of Lambdix; it is shown that the difficulties which Lisp encouters do not arise in Lambdix. The second part is about efficiency in implementation models. It explains why Lambdix is better suited for lazy evaluation than previous models. The section ends by giving comparative execution time tables.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。