c++ - Generalized plugable caching pattern? -


given it's 1 of the hard things in computer science, know of way set plugable caching strategy?

what i'm thinking of allow me write program minimal thought needs cached (e.i. use sort of boiler-plate, low/no cost pattern compiles away nothing anywhere might want caching) , when things further along , know need caching can add in without making invasive code changes.

as idea kind of solution i'm looking for; i'm working d programing language (but halfway sane c++ fine) , template.

the nearest thing comes mind memoization pure functions. maybe interesting might book pattern oriented software architecture patterns management has caching pattern in it.


Comments

Popular posts from this blog

Delphi Wmi Query on a Remote Machine -