unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alessandro Bertulli <alessandro.bertulli96@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: What are trampolines?
Date: Mon, 05 Dec 2022 14:15:47 +0100	[thread overview]
Message-ID: <87cz8yyogp.fsf@gmail.com> (raw)

Hi all!

This is going to be very noob-ish, I apologize.

Going to update Emacs to ver. 30, I noticed in the AUR build script the
optional make target `trampolines'. The script documented them as
"Compile jitted elisp files with trampolines.", and allowed that target
to be built only if native compilation is on as well.

It's not clear to me what does it mean (particularly the documentation
string). What are trampolines? A quick Google-fu told me it's a
functional programming idiom related to continuation-passing-computation
(à la call/cc in Scheme). Does this mean is it something specific to
Elisp? But why do they need to be enabled at configuration time?

Thanks!
-- 
Alessandro Bertulli



             reply	other threads:[~2022-12-05 13:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-05 13:15 Alessandro Bertulli [this message]
2022-12-05 13:28 ` What are trampolines? Eli Zaretskii
2023-04-24 12:24   ` Alessandro Bertulli
2022-12-05 21:38 ` Stefan Monnier via Users list for the GNU Emacs text editor

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/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cz8yyogp.fsf@gmail.com \
    --to=alessandro.bertulli96@gmail.com \
    --cc=help-gnu-emacs@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).