From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Concurrency, again Date: Fri, 14 Oct 2016 17:01:24 -0400 Message-ID: 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> <83mvi9a3mh.fsf@gnu.org> <20161012165911.58437154@jabberwock.cb.piermont.com> <20161012173314.799d1dc5@jabberwock.cb.piermont.com> <8360owaj2s.fsf@gnu.org> <20161013092701.77461800@jabberwock.cb.piermont.com> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1476478921 9646 195.159.176.226 (14 Oct 2016 21:02:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2016 21:02:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 14 23:01:57 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 1bv9bl-0008CD-K3 for ged-emacs-devel@m.gmane.org; Fri, 14 Oct 2016 23:01:37 +0200 Original-Received: from localhost ([::1]:49412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv9bk-0007uB-3j for ged-emacs-devel@m.gmane.org; Fri, 14 Oct 2016 17:01:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv9bd-0007tu-P7 for emacs-devel@gnu.org; Fri, 14 Oct 2016 17:01:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv9bb-0005M1-SR for emacs-devel@gnu.org; Fri, 14 Oct 2016 17:01:28 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv9ba-0005L2-JY; Fri, 14 Oct 2016 17:01:26 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bv9bY-0004Pd-KL; Fri, 14 Oct 2016 17:01:24 -0400 In-reply-to: (message from Stefan Monnier on Thu, 13 Oct 2016 14:14:55 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:208258 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] I thought that "concurrency" and "parallelism" were the same. I don't understand the distinction you are making. I think the main use of parallelism in Emacs would be to make some commands asynchronous. Currently, the only way a command can be asynchronous is if it runs in a separate process. With some rather unsophisticated parallelism, commands written in Lisp could be made asynchronous. The easy way to support this would be to provide special constructs that can be used to make a particular program able to run asynchronously. Such programs could run in parallel with any and all ordinary Lisp programs. It would not be necessary to allow two ordinary Lisp programs to run in parallel. In other words, it would be ok if Emacs allowed only one ordinary program at any time -- alongside any number of special asynchronous programs. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.