From: ludo@gnu.org (Ludovic Courtès)
To: guile-devel@gnu.org
Subject: Re: ffi docs
Date: Wed, 07 Apr 2010 23:38:32 +0200 [thread overview]
Message-ID: <87k4sjndt3.fsf@gnu.org> (raw)
In-Reply-To: m38w905klo.fsf@pobox.com
Hello,
Andy Wingo <wingo@pobox.com> writes:
> I reorganized the manual sections on dynamic linking, and wrote some
> sections on the dynamic FFI. I'm appending a text rendering of the
> documentation. Comments welcome!
Not much to say, apart from the fact that I’m happy with all this work!
:-)
I like the introductory text about shared libraries & co., and I like
the tone.
> Most modern Unices have something called "shared libraries".
... or “dynamic shared objects” (DSOs). [Drepper et al. use this
terminology.]
> to Scheme - and that estrangement extends to components of foreign
This should be an em dash (‘---’ with no space around in Texinfo).
> (1) Some people also refer to the final linking stage at program
> startup as `dynamic linking', so if you want to make yourself perfectly
> clear, it is probably best to use the more technical term "dlopening",
> as suggested by Gordon Matzigkeit in his libtool documentation.
s/libtool/Libtool/, and an xref to the Libtool manual?
> ;; struct timeval {
> ;; time_t tv_sec; /* seconds */
> ;; suseconds_t tv_usec; /* microseconds */
> ;; };
> ;; assuming fields are of type "long"
I think this assumption is one of the main pitfalls of a dynamic FFI.
More generally, a problem is that there’s no compile-time check that the
bindings correspond to the C code. How about adding a paragraph to
mention it?
BTW, I remember seeing occurrences of “her” in new material, where I’d
personally prefer “their” (see <http://aetherlumina.com/gnp/>).
Thanks,
Ludo’.
next prev parent reply other threads:[~2010-04-07 21:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-06 21:36 ffi docs Andy Wingo
2010-04-07 21:38 ` Ludovic Courtès [this message]
2010-04-07 22:01 ` Andy Wingo
2010-04-15 22:36 ` Neil Jerram
2010-04-16 8:43 ` Ludovic Courtès
2010-04-16 9:33 ` Andy Wingo
2010-04-16 22:34 ` Neil Jerram
2010-04-17 10:38 ` Andy Wingo
2010-07-27 8:24 ` 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=87k4sjndt3.fsf@gnu.org \
--to=ludo@gnu.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).