From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Ahead of time compilation? Date: Fri, 14 Sep 2018 16:25:39 -0600 Message-ID: <875zz73ee4.fsf@tromey.com> References: <20180914181636.3ae6b46b@jabberwock.cb.piermont.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536963839 23154 195.159.176.226 (14 Sep 2018 22:23:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2018 22:23:59 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) Cc: emacs-devel@gnu.org To: "Perry E. Metzger" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 15 00:23:55 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g0wVH-0005w1-1L for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2018 00:23:55 +0200 Original-Received: from localhost ([::1]:53525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0wXN-0002Iy-Eg for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2018 18:26:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0wXG-0002Go-SK for emacs-devel@gnu.org; Fri, 14 Sep 2018 18:25:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0wXD-0005te-PD for emacs-devel@gnu.org; Fri, 14 Sep 2018 18:25:58 -0400 Original-Received: from gateway32.websitewelcome.com ([192.185.145.111]:29569) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g0wXD-0005qP-Fu for emacs-devel@gnu.org; Fri, 14 Sep 2018 18:25:55 -0400 Original-Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway32.websitewelcome.com (Postfix) with ESMTP id BA2DC3B4C2 for ; Fri, 14 Sep 2018 17:25:53 -0500 (CDT) Original-Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id 0wWygjgN679N30wX6guy0P; Fri, 14 Sep 2018 17:25:53 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To: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=IpyI9lKKLfb1SjU6LBtQEW5cWspRqjAxMtaCCzQ/OuQ=; b=Gj42BWrb8ZMU2JewUpVBpY+FNY 3IvOMu4qILcJBe5AcZyGQh7sKnwFsCWQUT9T+RUFv4qiITXStCwPazZ8PmKhKlpf8OWA7fdrnl4Ju P4qczt92cGxR8PcPi9Tpl7GeV; Original-Received: from 97-122-190-66.hlrn.qwest.net ([97.122.190.66]:50724 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1g0wWy-0003Ks-6L; Fri, 14 Sep 2018 17:25:40 -0500 X-Attribution: Tom In-Reply-To: <20180914181636.3ae6b46b@jabberwock.cb.piermont.com> (Perry E. Metzger's message of "Fri, 14 Sep 2018 18:16:36 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.190.66 X-Source-L: No X-Exim-ID: 1g0wWy-0003Ks-6L X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-190-66.hlrn.qwest.net (pokyo) [97.122.190.66]:50724 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 192.185.145.111 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229796 Archived-At: >>>>> "Perry" == Perry E Metzger writes: Perry> Given the recent JIT discussion, it occurs to me that a large Perry> fraction of the elisp infrastructure in the average emacs is the Perry> stuff that gets slurped in and undumped. Perhaps all that stuff could Perry> get ahead of time compiled before undump for performance? Build time Perry> isn't nearly as relevant for me as speed during execution, and on Perry> platforms that don't have the infra, the interpreter could continue Perry> to be use for that stuff. See these: https://lists.gnu.org/archive/html/emacs-devel/2018-09/msg00451.html https://lists.gnu.org/archive/html/emacs-devel/2018-08/msg00767.html There's also the unfinished el-compilador, which is a different expression of this idea. Tom