From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Mon, 28 Nov 2016 12:14:34 -0800 Message-ID: <44e7db60-a7fb-eb16-79ac-7eebcb8deaf6@dancol.org> References: <047a67ec-9e29-7e4e-0fb0-24c3e59b5886@dancol.org> <83zikjxt1j.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1480364140 26100 195.159.176.226 (28 Nov 2016 20:15:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2016 20:15:40 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 28 21:15:34 2016 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 1cBSKp-0005GT-NX for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2016 21:15:32 +0100 Original-Received: from localhost ([::1]:32841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBSKr-0004yz-Rh for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2016 15:15:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBSK2-0004w5-Uu for emacs-devel@gnu.org; Mon, 28 Nov 2016 15:14:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBSJz-0000L4-Pl for emacs-devel@gnu.org; Mon, 28 Nov 2016 15:14:42 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:37560) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cBSJz-0000K8-GQ; Mon, 28 Nov 2016 15:14:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=5mLRAtj98xY2vpS4I6KD3mzBz3cAWPfQA6LvQe1ZEZw=; b=VVZJTsQkDqxxXR54LrgOi4Vq0dySOyhIKXeK5+lrJ+mEAt5BCzudra+SHozjiRexOtGkyQM5yVF4xxPtrus6qPS5dRWzsTUUSAk+MhuqxLXgX4p0Lh6fdLk3MXJICo7kI+CKwL+TdYak7iAWIKVwTaEkSpT+SVlkfvDOnNe5wwiFWNm8CHHVRd5fsSfZgPDsO2HtHAYs1QypDpCQUlBuCgcbGJ3HiexAegXIoiJe3EcO1NB8LNBc/cUcP0rm4ECVrW6Mi205fmYzS9oAu+6OcPw/jP1bE6awZHZElZDSZM5Tmvq9VJR1FsAC3iYcmdHyTfiFr9VNBL1BlB/o1YvvQQ==; Original-Received: from c-73-140-245-253.hsd1.wa.comcast.net ([73.140.245.253] helo=[192.168.1.173]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1cBSJy-0008A9-9G; Mon, 28 Nov 2016 12:14:38 -0800 In-Reply-To: <83zikjxt1j.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:209685 Archived-At: On 11/28/2016 12:12 PM, Eli Zaretskii wrote: >> From: Daniel Colascione >> Date: Mon, 28 Nov 2016 11:50:31 -0800 >> >> I've been working on a portable dumper for GNU Emacs. The attached patch >> is an early version of this work. I'll write up all the usual NEWS >> entries, changelogs, and (in this case necessary) dedicated >> documentation before I land it. I want to start getting review comments >> now that the code has roughly its final shape. > > Thanks for your efforts, but I think this is a wrong direction, that > will eventually get us into the same problem we have with unexec: the > need to know and depend on intimate details of relocations, memory > allocation, etc. On top of that, adding Lisp objects will now require > writing its dumper back-end, so this will be a constant maintenance > burden of the kind that only a few of us can bear. Only details of Emacs, not the system. I insist that this direction is the one that will yield adequate performance. > Making the initial load of preloaded Lisp files (most probably, a > single large file) fast enough to allow us to dump the dumping phase > altogether is a much more perspective direction. That's what this work does. If we disagree, that's a shame. I feel strongly enough about this issue to fork over it.