From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Perry E. Metzger" Newsgroups: gmane.emacs.devel Subject: Re: Concurrency, again Date: Mon, 17 Oct 2016 11:29:27 -0400 Message-ID: <20161017112927.269b38f5@jabberwock.cb.piermont.com> References: <87wq97i78i.fsf@earlgrey.lan> <86k2dk77w6.fsf@molnjunk.nocrew.org> <9D64B8EA-DB52-413D-AE6A-264416C391F3@iotcl.com> <83int1g0s5.fsf@gnu.org> <83twckekqq.fsf@gnu.org> <201610150446.u9F4jwms021218@ms-omx61.plus.so-net.ne.jp> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1476718199 28431 195.159.176.226 (17 Oct 2016 15:29:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2016 15:29:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: SAKURAI Masashi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 17 17:29:54 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 1bw9r6-0004XD-HS for ged-emacs-devel@m.gmane.org; Mon, 17 Oct 2016 17:29:36 +0200 Original-Received: from localhost ([::1]:33907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw9r8-0000lB-C3 for ged-emacs-devel@m.gmane.org; Mon, 17 Oct 2016 11:29:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw9r1-0000kt-VG for emacs-devel@gnu.org; Mon, 17 Oct 2016 11:29:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bw9qy-00043U-SK for emacs-devel@gnu.org; Mon, 17 Oct 2016 11:29:31 -0400 Original-Received: from hacklheber.piermont.com ([166.84.7.14]:53655) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bw9qy-00043I-On for emacs-devel@gnu.org; Mon, 17 Oct 2016 11:29:28 -0400 Original-Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id EACA526D; Mon, 17 Oct 2016 11:29:27 -0400 (EDT) Original-Received: from jabberwock.cb.piermont.com (jabberwock.cb.piermont.com [10.160.2.107]) by snark.cb.piermont.com (Postfix) with ESMTP id C4E6F2DE015; Mon, 17 Oct 2016 11:29:27 -0400 (EDT) In-Reply-To: <201610150446.u9F4jwms021218@ms-omx61.plus.so-net.ne.jp> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 166.84.7.14 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:208361 Archived-At: On Sat, 15 Oct 2016 13:45:58 +0900 SAKURAI Masashi wrote: > Then, I have learned that race bug, dead-lock and not-reproducible > bug are terrible even in the single-thread model, and I realized we > should choose concurrent programming without shared mutable state > or locking. > > So, I think multi-process model with IPC messaging is better for > emacs, This is also my experience. However, figuring out how to make Emacs function in such an environment is non-trivial. That said, it might well be worth it. Perry -- Perry E. Metzger perry@piermont.com