ephemeron
Meaning
Something short-lived or transitory.
A type of weak reference in a garbage collected programming language that does not permit an object to be kept alive by its finalizer.
Something short-lived or transitory.
Something short-lived or transitory.
Examples
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.
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.
Word Forms
ephemerons
ephemera
Etymology
Borrowed from Ancient Greek ἐφήμερον (ephḗmeron), neuter form of ἐφήμερος (ephḗmeros).