21. Persistence

Most larger applications will sooner or later need some kind of persistence—the ability to save data to non-volatile storage (for example, your hard disk), so that it can outlive the program that created it. Whole libraries could be filled with the literature that has already been written about various aspects of persistence, and yet this chapter is comparatively short.

That’s because, on the one hand, there are many good and battle-tried databases out there that aren’t written in Lisp but can be used from Lisp, while, on the other hand, on the Lisp side, there currently isn’t such a thing as “the standard solution for object persistence.”

For the former category, there is a huge class of COMMON LISP libraries1 that provide access ...

Get Common Lisp Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.