all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: What are trampolines?
Date: Mon, 05 Dec 2022 15:28:38 +0200	[thread overview]
Message-ID: <83o7si7zeh.fsf@gnu.org> (raw)
In-Reply-To: <87cz8yyogp.fsf@gmail.com> (message from Alessandro Bertulli on Mon, 05 Dec 2022 14:15:47 +0100)

> From: Alessandro Bertulli <alessandro.bertulli96@gmail.com>
> Date: Mon, 05 Dec 2022 14:15:47 +0100
> 
> It's not clear to me what does it mean (particularly the documentation
> string). What are trampolines?

Emacs built with native-compilation enabled uses them to support advising of
Emacs Lisp primitives.

> Does this mean is it something specific to Elisp?

Yes.

> But why do they need to be enabled at configuration time?

They don't.  The Make target you spotted allows building all the trampolines
ahead of time, which is needed for distributing MS-Windows binaries of
Emacs.  See bug#58318 for more details.



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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-05 13:15 What are trampolines? Alessandro Bertulli
2022-12-05 13:28 ` Eli Zaretskii [this message]
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

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

  git send-email \
    --in-reply-to=83o7si7zeh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.