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:16:37 -0800 Message-ID: References: <047a67ec-9e29-7e4e-0fb0-24c3e59b5886@dancol.org> <83zikjxt1j.fsf@gnu.org> <44e7db60-a7fb-eb16-79ac-7eebcb8deaf6@dancol.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 1480364267 28611 195.159.176.226 (28 Nov 2016 20:17:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2016 20:17:47 +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:17:43 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 1cBSMw-0006vz-Q3 for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2016 21:17:43 +0100 Original-Received: from localhost ([::1]:32857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBSN0-0006JD-GY for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2016 15:17:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBSM1-0006GT-Di for emacs-devel@gnu.org; Mon, 28 Nov 2016 15:16:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBSLy-0001el-9S for emacs-devel@gnu.org; Mon, 28 Nov 2016 15:16:45 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:37744) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cBSLy-0001eU-2k; Mon, 28 Nov 2016 15:16:42 -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=ZiDgrHai4/Ca5rozr5p7iXJ0ZXHzVKTz6MCb6U5dzIo=; b=JA1UbE7gDQ+HlqjGzwAhm5fX+S0Vt01zZBoHtZU2928LR1RTvYkZxaRSJ0XJXcuAXRvFR91IHnwW19yoXcFlfnRPIQROGUL7ezLT/mi5H0IRjttkc3X7RWdVGQ9QBT3mid39mUMfcy9Dk2anhT7SSAgZuwfd7ShXhVGuNodPMXrTS2n+6Haie1SUutSDaW1tOw7Kdah24s6CPGokOLPRUYIDNx0AGqTscvwg/x+EgQ3gtFslEWZ3yyVdS5lBrodX00SVf8OWlzj3eTMmRRxSF/nbpjGUcgb03YUmQIwD5KTQpM9N0bo2Fo5Mgak+VwvJMRjy6eFqHQr/i6tqCompRw==; 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 1cBSLx-0008Cc-DA; Mon, 28 Nov 2016 12:16:41 -0800 In-Reply-To: <44e7db60-a7fb-eb16-79ac-7eebcb8deaf6@dancol.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:209686 Archived-At: On 11/28/2016 12:14 PM, Daniel Colascione wrote: > 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. Also, this work *exists*. I don't see anyone signing up to implement the giant elc approach, which *I* believe is fundamentally the wrong direction.