
In another thread's discussion, we touched on the implementation of a text editor. It invariably comes up, in building a text editor, as to whether to allow editing of things larger than will fit in memory, etc. And so, practical concerns enter in that, in my mind at least, take us away from solving the conceptual problem at hand, and now the focus shifts to implementation details that we'd rather not be bothered with. One approach is to let the OS's virtual memory take care of it. Sometimes this is fine, sometimes not, often times around issues of performance, where a completely general purpose swapping device can't perform as well as a more specifically targeted design. Question: Should the Haskell runtime enviroment provide swapping services for large objects?