Sitemap

Specifics of C++ lambdas

6 min readOct 10, 2019

--

Note: you can get generic description of closures in a view of Funarg problem in this article.

Note: Upwards Funarg is when a function is returned outside from another function.

Note: per ECMAScript specification a closure just stores a reference to a captured environment. JS engines though can optimize this case, and heap-allocate only bindings which are actually used in closures.

--

--

Dmitry Soshnikov
Dmitry Soshnikov

Written by Dmitry Soshnikov

Software engineer interested in learning and education. Sometimes blog on topics of programming languages theory, compilers, and ECMAScript.