From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alessandro Bertulli Newsgroups: gmane.emacs.help Subject: What are trampolines? Date: Mon, 05 Dec 2022 14:15:47 +0100 Message-ID: <87cz8yyogp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5007"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.11; emacs 30.0.50 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 05 14:23:31 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p2BRS-00010Q-PF for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Dec 2022 14:23:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2BQv-0000GA-Pg; Mon, 05 Dec 2022 08:22:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2BQt-0000Eq-LP for help-gnu-emacs@gnu.org; Mon, 05 Dec 2022 08:22:55 -0500 Original-Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2BQp-0007TR-Pf for help-gnu-emacs@gnu.org; Mon, 05 Dec 2022 08:22:55 -0500 Original-Received: by mail-wm1-x32e.google.com with SMTP id o7-20020a05600c510700b003cffc0b3374so9997426wms.0 for ; Mon, 05 Dec 2022 05:22:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:from:to:cc:subject:date:message-id:reply-to; bh=FZnE1rik/VzAwoL9KkWVEI6QlCj4RU49eqsVK0y94uY=; b=pdKMtTJ+UNlxS/JpnLPzp0qYLwa/uUERT/j3x+rW5RAlFvjk7JQ2y7KiGEuUIcXfE9 55/vOsLanh/R8NV+DtsY/heopT8+zhPfM5iP3UNo18yt0XZCA5YxsgQVeDVtLG5M6jno PMLsA5iCB/47nfrNmQ0jp3dhXeqMAls09qVRXfF2g7Ls+CieAGkLIdnDeDnhxPHl6aNL GS7DzeHXx+h13n786WGq4zSkaY+t2bfV2hbB0jaGwnjto8+5t9hdt8RmRo9ndmN4LUrw aHnHZTd+Hz515O83rnGGTQDknbxxpPbiZW05tFDcr02t5fr3814l5gjw8B2P1DRNAOKQ l+lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FZnE1rik/VzAwoL9KkWVEI6QlCj4RU49eqsVK0y94uY=; b=3HY5Jx+CHtiDWnKVaNYK4vdQNxrQzSqszt9gWMzT0ODiPvaqpnwDGH7LuLsLpKmAiO lsuuh+JD27tgW44a1E4E2ejJXLNCPV9bGW/mKs6SqpGIJMhUgZi9S+N/SVHQ24skIQ+u +CDVVXnpePEtrk+C2aJgh1xSTLngacztrukoqHwY5oBTE3xGvPVxpizCEOnUr5iQNEhm nUyHBsUr+e/yzxeG51gtOYsJ5d9cZ1s5BytBUdnpJ31LEXX+47udjXoRfdCkgt9X+rMO dFV1+5egl55PsIY+Rw7PDex37U1kUVtrd+CrfQNHVnOSfkvB/CzpAIdFdJyp7U6fquEa sItA== X-Gm-Message-State: ANoB5plKexNyZbJmcpNkcgYf29nIIgS1QVarA5LCSG0bpEw/TH57ZqJs qq2UgHaQ4zQ9Xk3Z/4VdqRXgYm0mhQQ= X-Google-Smtp-Source: AA0mqf7uBcQ3/snlSyeUUj/MRBnKvvCLd+B+9RyDeBeRC67jdfxur9TqHRXu9xOGNMl04MlcIaGG/g== X-Received: by 2002:a05:600c:2214:b0:3d1:c895:92fb with SMTP id z20-20020a05600c221400b003d1c89592fbmr4120328wml.199.1670246568745; Mon, 05 Dec 2022 05:22:48 -0800 (PST) Original-Received: from commodoroII ([2001:b07:646e:446c:91c2:925b:a413:8a45]) by smtp.gmail.com with ESMTPSA id bg2-20020a05600c3c8200b003a3170a7af9sm20349739wmb.4.2022.12.05.05.22.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 05:22:48 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=alessandro.bertulli96@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141393 Archived-At: 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 (=C3=A0 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! --=20 Alessandro Bertulli