I just had a thought. I wonder if the idea of dynamically linked libraries in Unix and later of DLLs in Windows came somehow from the concept of overlays. And whether the overlay concept preceded (MS)-DOS.
What would be the effective use cases for this?
- Obviously, for start up scripts (like lua was used with C/C++ traditionally)
I am interested in the the potential of a REPL running in my app which could dynamically execute Lua code. Like nrepl for clojure and Swank/Slime for common lisp.
Some of them had this cool modern idea of overlays, where we would manually manage loading additional code segments into the same process memory slot.