From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Perry E. Metzger" Newsgroups: gmane.emacs.devel Subject: Re: Ahead of time compilation? Date: Sat, 15 Sep 2018 17:33:50 -0400 Message-ID: <20180915173350.2fbaa8c8@jabberwock.cb.piermont.com> References: <20180914181636.3ae6b46b@jabberwock.cb.piermont.com> <8336ubjli4.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1537047148 15474 195.159.176.226 (15 Sep 2018 21:32:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2018 21:32:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 15 23:32:24 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 1g1IAx-0003vm-PL for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2018 23:32:23 +0200 Original-Received: from localhost ([::1]:56827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1ID4-0002F9-Be for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2018 17:34:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1ICQ-0002F1-Hq for emacs-devel@gnu.org; Sat, 15 Sep 2018 17:33:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1ICP-00020d-S6 for emacs-devel@gnu.org; Sat, 15 Sep 2018 17:33:54 -0400 Original-Received: from hacklheber.piermont.com ([2001:470:30:84:e276:63ff:fe62:3400]:54090) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g1ICO-0001tk-Hk; Sat, 15 Sep 2018 17:33:52 -0400 Original-Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id 6307817A; Sat, 15 Sep 2018 17:33:50 -0400 (EDT) Original-Received: from jabberwock.cb.piermont.com (jabberwock.cb.piermont.com [10.160.2.107]) by snark.cb.piermont.com (Postfix) with ESMTP id 6B2AE2DF9C9; Sat, 15 Sep 2018 17:33:50 -0400 (EDT) In-Reply-To: <8336ubjli4.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:470:30:84:e276:63ff:fe62:3400 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:229823 Archived-At: On Sat, 15 Sep 2018 09:57:39 +0300 Eli Zaretskii wrote: > > Date: Fri, 14 Sep 2018 18:16:36 -0400 > > From: "Perry E. Metzger" > > > > Given the recent JIT discussion, it occurs to me that a large > > fraction of the elisp infrastructure in the average emacs is the > > stuff that gets slurped in and undumped. Perhaps all that stuff > > could get ahead of time compiled before undump for performance? > > Build time isn't nearly as relevant for me as speed during > > execution, and on platforms that don't have the infra, the > > interpreter could continue to be use for that stuff. > > IMO, before we decide to do this, we should convince ourselves that > JIT in the libjit branch indeed speeds up things significantly > enough for us to bother doing the above. Naturally. If it isn't actually a significant improvement there's no point. Perry -- Perry E. Metzger perry@piermont.com