ephemeron
Definitions & Usage
Something short-lived or transitory.
(programming) A type of weak reference in a garbage collected programming language that does not permit an object to be kept alive by its finalizer.
Notable Literary & Historical Quotes
“Ah!—so frail are we— So like the brief ephemeron that wheels Its momentary round, we scarce can weep Our own bereavements, ere we haste to share The clay with those we mourn.”
— 1834, Lydia Sigourney, Poems, To the Memeory of a Young Lady, page 64:
“Beyond type safety, OCaml has several features that closely interact with the garbage collector. These include weak references, finalisers, ephemerons, and lazy values, whose semantics will have to be preserved with the new GC so as to not break programs that use those features.”
— 2020, KC Sivaramakrishnan et al., Retrofitting Parallelism onto OCaml: