From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: Enabling native compilation by default when libgccjit is present Date: Tue, 7 Dec 2021 17:55:14 +0100 Message-ID: References: <87r1arsjpu.fsf@yahoo.com> <87ilw3sjlr.fsf@gnus.org> <87r1ar4mi2.fsf@gmail.com> <874k7nw32n.fsf@gnus.jao.io> <87mtlfasg4.fsf@telefonica.net> <83zgpd28km.fsf@gnu.org> <83o85t25d2.fsf@gnu.org> <87czm81jzn.fsf@rfc20.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wO8iOLCJSIHL8/gi" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16471"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 07 17:57:19 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mudmI-000459-0e for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 17:57:18 +0100 Original-Received: from localhost ([::1]:55668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mudmG-0005dW-MS for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 11:57:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mudkO-0003re-TQ for emacs-devel@gnu.org; Tue, 07 Dec 2021 11:55:20 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:34982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mudkM-0002Rn-Oi for emacs-devel@gnu.org; Tue, 07 Dec 2021 11:55:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=626CPjnEW6AtA7Gz7HDqPIUnZlMnaAWAfg+3AzV0jpc=; b=BSOEMZrNTDWblvJuPB4hgAOdxM dPe7Ws11ZqoXM6FrAKI6eiifAhB7ajHPkCwhJjlP7YuxJ665T+TQ588Vg0SeVqYQierYwfZ22cMcI w9u2keJ2H2aidPoyN+V4ehnZEISg61IVAEShEVUxoVT6Y52zaYXCbqvqUXeIw+nyQ4PqV8juLr2wb N5Q47UcF8FYE5d/u0Ib5eiPEtfRgYoLfa+sqhGw3OcBZ846nDE8ZJu7e1iLkwgJR/w0WXF+U+TXiF k/GLzlTkFosmbEKQpLPgIz4xsLYyXe8NYrpYulotudEXgEAl8PzzMMh0LDASjZteZ2rAfzjMAr/CF koaVNm7A==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1mudkI-0007Vm-Jf for emacs-devel@gnu.org; Tue, 07 Dec 2021 17:55:14 +0100 Content-Disposition: inline In-Reply-To: <87czm81jzn.fsf@rfc20.org> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281266 Archived-At: --wO8iOLCJSIHL8/gi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 07, 2021 at 08:02:20AM -0800, Matt Armstrong wrote: [...] > Indeed, PhDs have been completed in this area. >=20 > Beyond hot spot, JIT in dynamic languages can use other techniques, such > as specializing the JITed code to the concrete types the code sees in > practice, etc. I'm not an expert so I'll stop there. [...] > I don't see any technical barriers preventing Emacs and/or Guile from > taking the same kinds of approach, but it would be a large effort, > requiring deep expertise. It might make more sense to do it in Guile, > in the hopes of making Guile Emacs an attractive proposition. Guile is either nearly or already there [1]. To understand the ref one has to know that Andy Wingo, the current Guile maintainer works on Javascript implementations for browsers, for which such techniques are essential. Cheers [1] https://wingolog.org/archives/2020/06/03/a-baseline-compiler-for-guile --=20 t=20 --wO8iOLCJSIHL8/gi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYa+R6wAKCRAFyCz1etHa RoRzAJ0SwHkzUUoV96CmOxmskmRKBo61yACfcNGDmCs3oBZnD25uU0swvJ72d98= =lP/h -----END PGP SIGNATURE----- --wO8iOLCJSIHL8/gi--