From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Tue, 29 Nov 2016 11:11:15 -0800 Message-ID: References: <047a67ec-9e29-7e4e-0fb0-24c3e59b5886@dancol.org> <83zikjxt1j.fsf@gnu.org> <721b8fb1-5672-778e-b68f-a68b53308f55@cs.ucla.edu> <83vav7xs1p.fsf@gnu.org> <83twarxq6f.fsf@gnu.org> <834m2qrux9.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1480446731 19025 195.159.176.226 (29 Nov 2016 19:12:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2016 19:12:11 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (darwin) Cc: eggert@cs.ucla.edu, dancol@dancol.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 20:12:06 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 1cBnoz-00042v-W2 for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2016 20:12:06 +0100 Original-Received: from localhost ([::1]:38882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBnp2-0007s3-6F for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2016 14:12:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBnoT-0007rk-SO for emacs-devel@gnu.org; Tue, 29 Nov 2016 14:11:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBnoS-0003ea-V0 for emacs-devel@gnu.org; Tue, 29 Nov 2016 14:11:33 -0500 Original-Received: from mail-pg0-x230.google.com ([2607:f8b0:400e:c05::230]:35080) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cBnoO-0003dS-SC; Tue, 29 Nov 2016 14:11:29 -0500 Original-Received: by mail-pg0-x230.google.com with SMTP id p66so72478487pga.2; Tue, 29 Nov 2016 11:11:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=mppUrKLtqSBSu/8gCl6lQCneB0okb/Qp19ksb1iTc68=; b=K4R+jg1A4OXwj2M+EqDvzwMZj10GAqLs3R36fVdkXvlxkd5tB715HWVrpxjOSnAJXe xBTa3rE/HLiqxoB0NX/H5uNEQ39LbW2ktH33ZlrU3zlO2C0Uz0qWbUqGsJHHoi2Xx3bJ TP+076Ch0WdE5jqAQ/DbtnF0VHbqsIJl00xKwofp4gfDDvy1Fai47JEmYA81/0dSOTbN hcC4W9dXeW+42NhxS0ccqjmKJkXx450GHYmOjqb8y8/FfC02298cxMxTEIMl4kYvw8El +dYuP+asnGpzDTBUf3xLigGgSnsI7i85j1Q+PtZ3x2TAHe25dsmZU5g/t2XxxRNlCXRf XIwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=mppUrKLtqSBSu/8gCl6lQCneB0okb/Qp19ksb1iTc68=; b=IqysVaQ0S6bbjiF6P9fxKaohMVvAjJ5aPrtzdnGT3QTADL+BMOZFYpN8W9qv33+3SR jg18Ta6GF+7fM2FZIrZfnyOmLZ+6yg9yyMk9RfXrBFQjYo1HYuuTSt+xCzOJOGDWP0XL QGuXrG+GqKAJU7wrjdV6HH9qNtRea+0rpEbJuXnOegx3gvMPch62kgl68V1L2GdYl2C7 etvcBAtb6YKjQ4Nr7m+o6LFB/WQHtHu80Eg+fGgSKuuaLA08lGNdhB7otpHcSyJvxb6r 9q4DxcPp0ubObrB2S3r+Jn2bfhalIDF2qjkKWY0eiuYZR8RV7zvvVqAfMEIEugKvc2kl iATg== X-Gm-Message-State: AKaTC01oVEZPyBaLtIU+IH3k3ZAYG4PZ1O0tZj0bghrq2kIKYWPop6LVMlrY2DOp4Cr9ag== X-Received: by 10.84.128.46 with SMTP id 43mr64956782pla.100.1480446687177; Tue, 29 Nov 2016 11:11:27 -0800 (PST) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id 24sm96914211pfh.41.2016.11.29.11.11.26 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 29 Nov 2016 11:11:26 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 9DA8D45CDCD1; Tue, 29 Nov 2016 11:11:25 -0800 (PST) In-Reply-To: <834m2qrux9.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 29 Nov 2016 20:40:50 +0200") Mail-Followup-To: Eli Zaretskii , eggert@cs.ucla.edu, dancol@dancol.org, emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::230 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:209754 Archived-At: >>>>> Eli Zaretskii writes: > By contrast, dumping code is a central and mandatory part of building Emacs > and of its startup process. It cannot be ignored or made optional. Could we ask Daniel to include his code under an #ifdef, so until it's proven we can always disable it, or back out the changes easily if need be? I'd like to entertain the experiment, if we can. I spent a good chunk of my career working on linkers and loaders, so I'm aware of some of the complexities we're inviting in. My biggest fear is that things like this always seem simple initially -- but the devil is in the details. However, if we maintain a way to trivially back out, I don't see how it can hurt to give Daniel his room to play. Maybe it could turn out better than we think? -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2