From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help Subject: Re: CSP for Elisp? Date: Thu, 22 Aug 2013 14:43:37 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1377197074 13699 80.91.229.3 (22 Aug 2013 18:44:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Aug 2013 18:44:34 +0000 (UTC) Cc: emacs To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 22 20:44:34 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1VCZs0-0003XB-IH for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Aug 2013 20:44:32 +0200 Original-Received: from localhost ([::1]:33162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCZs0-00030u-39 for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Aug 2013 14:44:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCZro-00030U-F0 for help-gnu-emacs@gnu.org; Thu, 22 Aug 2013 14:44:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCZrm-0004nY-SM for help-gnu-emacs@gnu.org; Thu, 22 Aug 2013 14:44:20 -0400 Original-Received: from mail-vb0-x22f.google.com ([2607:f8b0:400c:c02::22f]:56416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCZrm-0004nS-NY for help-gnu-emacs@gnu.org; Thu, 22 Aug 2013 14:44:18 -0400 Original-Received: by mail-vb0-f47.google.com with SMTP id h10so1541819vbh.20 for ; Thu, 22 Aug 2013 11:44:18 -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:content-type; bh=+Tnp8XYdJEOaJSOxBOFArJ/BoozoIo5nPGkmQzCPMD8=; b=Mi5PSaatDEq9SvsLF9ILTWtqVVzF1ovQ5CYmAkB1DxFl6UzdoiAJpPrDddqAfsZq2U i6t35WNTOFW6f1tz3wpDBLMr8Mkfgj88voxfQcc/bt5YbsKvipAxk+azvEZfuAifH+qj 7GESG/2a2pIszvaak5dSmfe/CnahBvEJ6kBIcaUEgEUay9Tct/DnkLsttFu+21WqJRjh Lf6N2MvlOt4xzo34/8+8j3Spz0/zxR82qElbd3FltLqdOuQ7h8MjGKMdeilsf/ZzjdFL P6XUViY478FRT9pXb8/vaug8IaViBR7YwQsnpVxQOaQJ/HJafWjVKajKEkwKWmCbd3Nv FFXw== X-Received: by 10.221.6.195 with SMTP id ol3mr1237420vcb.34.1377197057986; Thu, 22 Aug 2013 11:44:17 -0700 (PDT) Original-Received: by 10.221.54.129 with HTTP; Thu, 22 Aug 2013 11:43:37 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c02::22f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93055 Archived-At: On Thu, Aug 22, 2013 at 2:28 PM, Stefan Monnier wrote: >> Is anyone aware of any efforts going on to bring [CSPs][] a la >> [core.async][] or [go][] to elisp? > > We'd like to add concurrency to Elisp, but there is not much progress in > this area. There is a `concurrency' branch with some work-in-progress > patches to provide ways to start a new thread, but it still needs a lot > of work. > Help would be very welcome (even more so than usual). Just to be sure that we're both talking about the same thing, I'm referring to ['concurrency', not 'parallelism'][pike]. The cool thing about this (in terms of `core.async`) is that the concurrency models hold up even in single-threaded environments. Hence `core.async` working just fine under [ClojureScript][]. So I'm specifically talking about efforts in that direction. To be honest, parallelism in terms of elisp is quite frightening as it has uncontrolled mutation in the language. So are we talking about the same thing? [pike]: http://vimeo.com/49718712 [clojurescript]: http://rigsomelight.com/2013/08/12/clojurescript-core-async-dots-game.html -- In Christ, Timmy V. http://blog.twonegatives.com/ http://five.sentenc.es/ -- Spend less time on mail