From: Wilfred Hughes <me@wilfred.me.uk>
To: 24363@debbugs.gnu.org
Subject: bug#24363: Clarify the VM docs
Date: Sun, 4 Sep 2016 01:04:51 -0400 [thread overview]
Message-ID: <CAFXAjY69HSibSrXKOQX0kXsqq3Ozm360=7h2t4i4UanSX3vAQw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]
The docs currently state:
> The easiest (and most fun) way to depend on a virtual machine is to
implement the virtual machine within Guile itself. This way the virtual
machine provides what Scheme needs (tail calls, multiple values, call/cc)
and can provide optimized inline instructions for Guile (cons, struct-ref,
etc.).
This is a little confusing for new readers (like myself), who may consider
Guile to by synonymous with Scheme.
This led to interpret this as 'the VM is implemented in Scheme', which has
a bootstrapping problem (what actually interprets your bytecode?).
Instead, I propose adding an additional sentence:
> The easiest (and most fun) way to depend on a virtual machine is to
implement the virtual machine within Guile itself. Guile contains a
bytecode interpreter (written in C) and a Scheme to bytecode compiler
(written in Scheme). This way the virtual machine provides what Scheme
needs (tail calls, multiple values, @code{call/cc}) and can provide
optimized inline instructions for Guile (@code{cons}, @code{struct-ref},
etc.).
[-- Attachment #2: Type: text/html, Size: 1225 bytes --]
next reply other threads:[~2016-09-04 5:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-04 5:04 Wilfred Hughes [this message]
[not found] ` <handler.24363.B.147296552715192.ack@debbugs.gnu.org>
2016-09-04 5:08 ` bug#24363: Acknowledgement (Clarify the VM docs) Wilfred Hughes
2016-09-04 16:14 ` Andy Wingo
2016-09-05 0:23 ` Wilfred Hughes
2016-09-05 18:52 ` Andy Wingo
2017-03-01 9:07 ` Andy Wingo
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='CAFXAjY69HSibSrXKOQX0kXsqq3Ozm360=7h2t4i4UanSX3vAQw@mail.gmail.com' \
--to=me@wilfred.me.uk \
--cc=24363@debbugs.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).