[DGD] lambda operator re-re-visited?

Felix A. Croes felix at dworkin.nl
Tue Jan 3 19:18:04 CET 2017


Carter Cheng <cartercheng at gmail.com> wrote:

> My thought on this is to not recompile L when A is recompiled since lambda
> operators are runtime operators and should have the illusion of creating
> the function on the spot.

Scenario: you're patching a low-level inherited object to fix a security
bug.  Unrecompiled anonymous functions will inherit old code, and thus be
a security problem.

Scenario: you're patching a low-level object to reflect an interface change.
Unrecompiled anonymous functions will attempt to use the old interface, and
will no longer work.

Giving up system-wide full recompilation of all objects and functions to
provide the illusion of creating functions on the spot seems like a poor
trade-off.

Regards,
Felix Croes



More information about the DGD mailing list