From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Crash recovery strategies Date: Sun, 03 Jan 2016 16:12:14 -0800 Message-ID: References: <83mvu1x6t3.fsf@gnu.org> <5679DC83.70405@cs.ucla.edu> <83oadhp2mj.fsf@gnu.org> <567AD556.6020202@cs.ucla.edu> <567AD766.3060608@dancol.org> <567B5DAB.2000900@cs.ucla.edu> <83fuyromig.fsf@gnu.org> <567C25B1.3020101@dancol.org> <56892FD6.8040708@dancol.org> <568988EE.3010205@dancol.org> <56899278.9000007@dancol.org> <56899EAC.1030408@dancol.org> <5689A6DE.2080709@dancol.org> <5689B3F1.6010201@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451866367 1739 80.91.229.3 (4 Jan 2016 00:12:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jan 2016 00:12:47 +0000 (UTC) Cc: Eli Zaretskii , Paul Eggert , Emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 04 01:12:39 2016 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 1aFslK-0005ru-Pt for ged-emacs-devel@m.gmane.org; Mon, 04 Jan 2016 01:12:38 +0100 Original-Received: from localhost ([::1]:43329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFslJ-0008Po-Tu for ged-emacs-devel@m.gmane.org; Sun, 03 Jan 2016 19:12:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFsl6-0008PN-5x for Emacs-devel@gnu.org; Sun, 03 Jan 2016 19:12:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFsl1-0007RH-A0 for Emacs-devel@gnu.org; Sun, 03 Jan 2016 19:12:24 -0500 Original-Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:35633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFsl1-0007R9-3z; Sun, 03 Jan 2016 19:12:19 -0500 Original-Received: by mail-pf0-x233.google.com with SMTP id 78so194262543pfw.2; Sun, 03 Jan 2016 16:12:18 -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:content-type; bh=oMknmluDR3BPDceFk3Vc0OSyedUGw1rO/AvKk0++E2I=; b=fGrht196Ih6EUc5AW6GcMX8SMQfG5y9Tbt0oMX0TAh8Mk4dVQhD77cL5NtjK1NF9A0 bSRh9CMBoASHFEWp86bVhe6/1TGABY//Gohpc76SuzDSOZjamT1KgM8Ea0XVFoQIf4WS me8ud7aZUdsAxrY/mPwl/nzrhmM6ttbjYkZXRs1GQBocNUToEvLGC1qCipxV//elYTHJ PsTxvijlp9UQ73JcTquQPD6blyqcU4VHEaiOBQMfSngZ9xsuXVOj0MGib+3XX/qocCbP iAItMRuc8Etlpz4DIqoDf2ksDLkdZ0WbHMxepHrjfLmQkNafh7V3S2X1+GeJdCN274yR V9UA== X-Received: by 10.98.16.139 with SMTP id 11mr31916683pfq.17.1451866338454; Sun, 03 Jan 2016 16:12:18 -0800 (PST) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id 184sm45003733pfa.15.2016.01.03.16.12.16 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 03 Jan 2016 16:12:16 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 208AB12010DB6; Sun, 3 Jan 2016 16:12:16 -0800 (PST) In-Reply-To: <5689B3F1.6010201@dancol.org> (Daniel Colascione's message of "Sun, 3 Jan 2016 15:51:13 -0800") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) Mail-Followup-To: Daniel Colascione , Eli Zaretskii , Paul Eggert , 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:c00::233 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:197536 Archived-At: >>>>> Daniel Colascione writes: > How would moving to C help? Keep in mind that we're talking about fork *and > exec*, so the parent and child don't share memory. They can, however, > communicate over a pipe. Lisp already has read and print, so given the > choice, I'd rather implement cross-process functionality in Lisp. Sure, > that's text-based marshaling, but with it's general, isn't it? Ah, in that case, async.el is just what you want, since it does exactly what you describe above. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2