From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Time to drop the pre-dump phase in the build? Date: Fri, 10 Jan 2014 21:58:55 -0500 Message-ID: References: <20140110191530.5772E38019B@snark.thyrsus.com> <52D071EC.4090607@dancol.org> <52D08B37.5090505@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389409153 17829 80.91.229.3 (11 Jan 2014 02:59:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jan 2014 02:59:13 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 11 03:59:19 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W1on9-0004QI-39 for ged-emacs-devel@m.gmane.org; Sat, 11 Jan 2014 03:59:19 +0100 Original-Received: from localhost ([::1]:59901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1on8-00005E-HW for ged-emacs-devel@m.gmane.org; Fri, 10 Jan 2014 21:59:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1omz-000052-0e for emacs-devel@gnu.org; Fri, 10 Jan 2014 21:59:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1omr-0004Qb-Mq for emacs-devel@gnu.org; Fri, 10 Jan 2014 21:59:08 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:14695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1omr-0004QW-Il for emacs-devel@gnu.org; Fri, 10 Jan 2014 21:59:01 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxKG9/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IPAS-Result: Av4EABK/CFFFxKG9/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="44698633" Original-Received: from 69-196-161-189.dsl.teksavvy.com (HELO pastel.home) ([69.196.161.189]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 10 Jan 2014 21:59:00 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 4F0666045A; Fri, 10 Jan 2014 21:58:55 -0500 (EST) In-Reply-To: <52D08B37.5090505@dancol.org> (Daniel Colascione's message of "Fri, 10 Jan 2014 16:07:19 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:168057 Archived-At: >>> That's why the XEmacs portable dumper is better than the current Emacs >>> setup. >> Right, a portable dumper would be nice to have. >> Tho I don't know enough of the details to know what are the downsides >> (e.g. does it require relocation? If so that means the file can't just >> be mmap'd read-only and shared between processes, right?). > If I'm reading the XEmacs Internals documentation properly, pdump *may* > require relocation, but not if the offset at which the dumpfile is loaded > happens to match the offset at which it's loaded. That's about as good as > you can ask for. Which begs the question: when is it the case that the offset matches? Can we assume it to be the common case? Stefan