From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: compiled lisp file format (Re: Skipping unexec via a big .elc file) Date: Mon, 29 May 2017 20:39:22 +0300 Message-ID: <83h903ftpx.fsf@gnu.org> References: <8A8DA980-13A7-4F8B-9D07-391728C673C9@raeburn.org> <83lgrhpalq.fsf@gnu.org> <0D99B4FE-FEEF-4565-87D6-E230A05DEF3C@raeburn.org> <86lgrc4vob.fsf@molnjunk.nocrew.org> <834ly0oew1.fsf@gnu.org> <968E8F50-92F6-43C7-B7E4-EE8378943087@raeburn.org> <83wpawmj4d.fsf@gnu.org> <1e397033-8291-1625-8b78-a1e1c200aea5@gmail.com> <18196f08-408d-8b17-423e-8be54507bb84@gmail.com> <8360hkkcgj.fsf@gnu.org> <26b35c16-33e7-0e08-9cc5-6f9b81e40968@cs.ucla.edu> <554fd451-8c5a-755d-1fba-a5473bf2ecfc@cs.ucla.edu> <60D5F708-B068-4D27-8FC5-F73F6AB1C44D@raeburn.org> <36e5ef5d-3ad9-7a30-bf7f-e7467a0af2bf@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1496079621 1651 195.159.176.226 (29 May 2017 17:40:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 May 2017 17:40:21 +0000 (UTC) Cc: raeburn@raeburn.org, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 29 19:40:16 2017 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 1dFOeN-0000Dp-O8 for ged-emacs-devel@m.gmane.org; Mon, 29 May 2017 19:40:15 +0200 Original-Received: from localhost ([::1]:49819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFOeT-0007B9-4A for ged-emacs-devel@m.gmane.org; Mon, 29 May 2017 13:40:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFOdW-0006UF-CS for emacs-devel@gnu.org; Mon, 29 May 2017 13:39:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFOdS-0002yG-5K for emacs-devel@gnu.org; Mon, 29 May 2017 13:39:22 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFOdS-0002yC-1a; Mon, 29 May 2017 13:39:18 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4966 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dFOdR-0001tf-8m; Mon, 29 May 2017 13:39:17 -0400 In-reply-to: <36e5ef5d-3ad9-7a30-bf7f-e7467a0af2bf@cs.ucla.edu> (message from Paul Eggert on Mon, 29 May 2017 09:37:15 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:215311 Archived-At: > From: Paul Eggert > Date: Mon, 29 May 2017 09:37:15 -0700 > Cc: Emacs developers > > > If we want standardized object/executable format specifically for the preloaded environment, perhaps using the native format by way of the C compiler is a better choice. I think this may have come up in the discussion before. The big loss there is the ability to create a new saved environment without having a C compiler handy, but it seems like a thing few people are likely to want to do, and even fewer non-developers who might not be able to install a compiler. > > Yes, this is my preferred solution too; I was the one who made that suggestion. > Although Eli didn't like the idea at the time, perhaps there will come a day > when we revisit it. It should be faster than even Guile's ELF-based loading, > which is already plenty fast. I have no doubt it will be faster. My problem with this alternative is that I believe maintaining it will need experts on C and C compilers that we cannot rely on having available.