From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: When should ralloc.c be used? (WAS: bug#24358) Date: Thu, 27 Oct 2016 15:44:27 +0200 Message-ID: References: <87twe6sx2g.fsf@users.sourceforge.net> <87eg51ng4r.fsf_-_@users.sourceforge.net> <87k2djwumn.fsf@users.sourceforge.net> <83h98nidvd.fsf@gnu.org> <87eg3rvtsf.fsf@users.sourceforge.net> <83k2dihpm9.fsf@gnu.org> <8760p2wzgj.fsf@users.sourceforge.net> <838ttyhhzu.fsf@gnu.org> <871szqwu51.fsf@users.sourceforge.net> <831szqhbc2.fsf@gnu.org> <87d1itt79z.fsf_-_@users.sourceforge.net> <7baa18d4-2b09-caa8-005e-29008a383ad1@cs.ucla.edu> <83mvhwrgd5.fsf@gnu.org> <8539f38f-9a11-44c3-4de7-bb974c96206c@cs.ucla.edu> <83d1iq5ib1.fsf@gnu.org> <83r3753c8j.fsf@gnu.org> <83r374wh32.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0947b8f39c6a053fd8f1ea X-Trace: blaine.gmane.org 1477575939 16278 195.159.176.226 (27 Oct 2016 13:45:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2016 13:45:39 +0000 (UTC) Cc: Eli Zaretskii , Noam Postavsky , rms@gnu.org, Emacs developers To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 27 15:45:35 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 1bzkzY-0000ov-Fk for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2016 15:45:12 +0200 Original-Received: from localhost ([::1]:41580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzkza-0007ww-Tx for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2016 09:45:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzkzR-0007rv-3a for emacs-devel@gnu.org; Thu, 27 Oct 2016 09:45:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzkzM-0005gG-Hp for emacs-devel@gnu.org; Thu, 27 Oct 2016 09:45:05 -0400 Original-Received: from mail-vk0-x22b.google.com ([2607:f8b0:400c:c05::22b]:33970) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzkzB-0005cl-A3; Thu, 27 Oct 2016 09:44:49 -0400 Original-Received: by mail-vk0-x22b.google.com with SMTP id c126so15494984vkd.1; Thu, 27 Oct 2016 06:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Sncl8QK63MdqNjO7PPqj+3s7am+CHHUEIyupN78u2nA=; b=ls6Wz8+6oxEcO5pohLsuoN16VHMtHGmYo23zBbDgyTbXLGmfcDnAtiBv31VndiH5T4 TtWmg5oGdNxFfGFk9wJKHCvXauvEcohlYd/jDo4WqWxw+i5DPM7AjHaNvnSfhuwb9snV xVnwvBapK5jcql+6tQ2iDMxoBGgd5cD6wOAPOowOsY3NOA6KR7SX+ysVu7bhJtvOlcti jOopauf03capCE8KUn9TQ6aFcs6uA3fsUkCVwAVTrnQpcK+/7sqp30fAPjQ3Knmt8EZW M/s5yFL96A1YsYDHb5Uy23mWLy2bjiDbZ/QO6iLzCROMveKleZzXiWfRWSQrPkYN5tsd i5Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Sncl8QK63MdqNjO7PPqj+3s7am+CHHUEIyupN78u2nA=; b=AxJWZZlOzd6PXuQHuOOFETB1Oz3Q5VOO2TlMKsYxdanXF1I4UlOxrm7ulZEOqsswnc slXKlmNjdVpX2mEjwatDkJPbm0xC1M73RAplBgLvslDc8gTBLgMgkKRn5b+Og8sHHb69 cPYyT+qKtB9avbLR26L7h/rgMAKnPGPhHTzEe7gDQJSI+EIQuRbbwE17kEwBCtPzOXKM y0+hfdzotqW0ec0WFr0Fo1FmYAYOcnRqdCKxqbMGdI1vU3jXE+mQuGWChX3ennxyKdK5 aBKeKHAdb+2VJ1/wqFdw2pd0fwI86/j6aHvCFEPSeiMlET0MJJyXB1cGDq1GWSXOkhJy 2Qfw== X-Gm-Message-State: ABUngvc2qkBKZskkriKO9+s/LWz6C2ZO1/tQ1auvwax6Uo3KY6KOkamsbtiw4ZLu8wR3uMRB6+ievLYfdiKF1g== X-Received: by 10.31.109.129 with SMTP id i123mr6110565vkc.89.1477575888311; Thu, 27 Oct 2016 06:44:48 -0700 (PDT) Original-Received: by 10.176.69.247 with HTTP; Thu, 27 Oct 2016 06:44:27 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::22b 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:208872 Archived-At: --94eb2c0947b8f39c6a053fd8f1ea Content-Type: text/plain; charset=UTF-8 2016-10-27 3:36 GMT+02:00 Paul Eggert : > On 10/26/2016 06:23 PM, Richard Stallman wrote: > >> Could you explain that more? >> > > The main idea is to save the current Emacs state as C source code, then > compile the (large and boring) .c file and relink Emacs with the resulting > .o file instead of a dummy .o file that it would start off with. Most of > this new .o file would be data; perhaps some would be code that would > initialize the data, though we'd want to minimize this. > > I find it disturbing that a C compiler will be needed to redump Emacs. Am I alone ? Fabrice --94eb2c0947b8f39c6a053fd8f1ea Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2016-10-27 3:36 GMT+02:00 Paul Eggert <eggert@cs.ucla.edu>:
On 10/26/2016 06:23= PM, Richard Stallman wrote:
Could you explain that more?

The main idea is to save the current Emacs state as C source code, then com= pile the (large and boring) .c file and relink Emacs with the resulting .o = file instead of a dummy .o file that it would start off with. Most of this = new .o file would be data; perhaps some would be code that would initialize= the data, though we'd want to minimize this.


I find it disturbing that a C c= ompiler will be needed to redump Emacs.
Am I alone ?=C2=A0
<= div>
Fabrice

--94eb2c0947b8f39c6a053fd8f1ea--