From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: guile-devel@gnu.org
Subject: Re: port-filename and path canonicalization
Date: Tue, 20 Apr 2010 13:15:22 +0200 [thread overview]
Message-ID: <87tyr69xyt.fsf@ambire.localdomain> (raw)
In-Reply-To: <m3ochea28t.fsf@pobox.com> (Andy Wingo's message of "Tue, 20 Apr 2010 11:42:58 +0200")
() Andy Wingo <wingo@pobox.com>
() Tue, 20 Apr 2010 11:42:58 +0200
I'd be happy to have some cleaner solution, though.
Do you have any ideas?
Another idea is to conceptually separate "filename" to be "directory"
and "basename" and have file ports maintain the directory portion as a
file descriptor (or equivalent) internally, exposed through some kind of
opaque handle.
With this separation, one can start to play with other virtualized
location schemes (FUSE, tarball, network byte stream, VMS-style logical
names, etc), while also addressing the actual need directly: finding
"neighbors" of the already opened file.
One (important for users' software freedom) neighbor is the source code;
others might be debugging info, runtime stats (thinking of future JIT),
previous versions (for ABI negotiation/fallback), and so on.
If the separation is applied earlier, that is, if directory objects can
be made without opening a file, you get "browsing".
FWIW, in Guile 1.4.x, i was headed towards this with module catalogs
(inspired by SLIB's catalog system), but it is not yet fully realized,
and might never be. Perhaps i can move some of that to Guile 1.9.
thi
next prev parent reply other threads:[~2010-04-20 11:15 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-19 14:52 file names embedded in .go Andy Wingo
2010-04-19 21:46 ` Thien-Thi Nguyen
2010-04-20 0:08 ` Jose A. Ortega Ruiz
2010-04-20 11:35 ` Thien-Thi Nguyen
2010-04-20 19:15 ` Jose A. Ortega Ruiz
2010-04-21 7:45 ` Thien-Thi Nguyen
2010-04-20 9:45 ` Andy Wingo
2010-04-20 10:34 ` Thien-Thi Nguyen
2010-04-19 23:12 ` port-filename and path canonicalization Ludovic Courtès
2010-04-20 9:42 ` Andy Wingo
2010-04-20 11:15 ` Thien-Thi Nguyen [this message]
2010-04-21 8:49 ` Ludovic Courtès
2010-04-21 19:16 ` Thien-Thi Nguyen
2010-04-21 22:26 ` Ludovic Courtès
2010-04-22 7:42 ` Thien-Thi Nguyen
2010-04-20 16:57 ` Ludovic Courtès
2010-04-22 11:10 ` Andy Wingo
2010-04-22 12:50 ` Ludovic Courtès
2010-04-19 23:23 ` file names embedded in .go Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tyr69xyt.fsf@ambire.localdomain \
--to=ttn@gnuvola.org \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).