[Back]


Talks and Poster Presentations (with Proceedings-Entry):

M.A. Ertl:
"The Essence of Closures---A language design perspective";
Talk: 21. Kolloquium Programmiersprachen und Programmierung (KPS 2021), Kiel; 2021-09-27 - 2021-09-29; in: "21. Kolloquium Programmiersprachen und Programmierung (KPS 2021)", Kiel Computer Science Series / Self-Publishing of Department of Computer Science, Kiel, 2021/7/Kiel (2021), ISSN: 2194-6639; 26 - 33.



English abstract:
Closures are originally associated with lexically
scoped name binding. However, in the course of
implementing closures in Gforth, it turned out that
the actual function (the essence) of closures is to
communicate data between closure creation and the
closure execution (with the closure call usually
being far from the closure creation). This paper
presents a simple language extension for C:
two-stage parameter passing, implemented with flat
closures; the first stage creates a closure, the
second stage calls it. Nested functions and access
to outer locals are not needed.


"Official" electronic version of the publication (accessed through its Digital Object Identifier - DOI)
http://dx.doi.org/10.21941/kcss/2021/7

Electronic version of the publication:
https://publik.tuwien.ac.at/files/publik_303067.pdf


Created from the Publication Database of the Vienna University of Technology.