کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
424282 685379 2007 17 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Plugging a Space Leak with an Arrow
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Plugging a Space Leak with an Arrow
چکیده انگلیسی

The implementation of conceptually continuous signals in functional reactive programming (FRP) is studied in detail. We show that recursive signals in standard implementations using streams and continuations lead to potentially serious time and space leaks under conventional call-by-need evaluation. However, by moving to the level of signal functions, and structuring the design around arrows, this class of time and space leaks can be avoided. We further show that the use of optimal reduction can also avoid the problem, at the expense of a much more complex evaluator.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 193, 1 November 2007, Pages 29-45