home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.scheme
- Path: sparky!uunet!cs.utexas.edu!usc!wupost!udel!louie!hercules.cis.udel.edu!carroll
- From: carroll@hercules.cis.udel.edu (Mark C. Carroll)
- Subject: Re: random rant on random files
- Message-ID: <1992Aug17.180904.21548@udel.edu>
- Sender: usenet@udel.edu (USENET News Service)
- Nntp-Posting-Host: hercules.cis.udel.edu
- Organization: University of Delaware, Newark
- References: <9208130624.1.11214@cup.portal.com> <700@data.rain.com> <16ocv6INNl87@agate.berkeley.edu>
- Date: Mon, 17 Aug 1992 18:09:04 GMT
- Lines: 37
-
- In article <16ocv6INNl87@agate.berkeley.edu> bh@anarres.CS.Berkeley.EDU (Brian Harvey) writes:
- >I don't find this "store" idea obvious at all. Does it live in memory
- >or on the disk? If on the disk, does that mean there is a redundant
- >disk-to-disk copy when I finally use store->file? If in memory, how
- >do you handle gigabyte stores?
- >
-
- I think that the point of it is to _deliberate_ fuzz the issue of
- where the store is located. It doesn't matter! All that matters is the
- behavior of a store when you use it - the rest is implementation
- details.
-
- Given a system like a store, what's great about it is that it can
- provide read/write access to _anything_: a store can be in memory, on
- a disk, a combination... it can be anything at all that behaves the
- correct way, and the implementation of stores is responsible for
- providing an appropriate low-level implementation.
-
- (For an example of how well ideas like this can work, take a look at
- the Modula-3 I/O streams system. It provides perfectly flexible,
- general access to _anything_ that can be read or written.)
-
- >I'm not necessarily objecting to the idea. I just need to see more
- >discussion than was posted about why this is thought preferable to
- >just adding seek, binary-read, and binary-write to the port mechanism.
-
- It's preferable because it doesn't rely on the filesystem, and it
- isn't specific to disks. A store can be used to read/write a section
- of memory, or a file on disk, or a screen display, or...
-
- <MC>
-
- --
- || Mark Craig Carroll: <MC> || "There is no such thing as a problem
- || Univ of Delaware, Dept of CIS|| without a gift for you in its hands. You
- || Grad Student/Labstaff Hacker || seek problems because you need their
- || carroll@udel.edu || gifts" - _Illusions_, by Richard Bach
-