From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.devel Subject: Re: Multithreading, again and again Date: Wed, 19 Oct 2011 18:05:35 -0400 Message-ID: References: <4E82C377.4040007@yandex.ru> <87vcrne2pv.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319061947 5531 80.91.229.12 (19 Oct 2011 22:05:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 22:05:47 +0000 (UTC) Cc: John Wiegley , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 20 00:05:43 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGeGc-0000HF-MX for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2011 00:05:42 +0200 Original-Received: from localhost ([::1]:53533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGeGc-0001kx-3t for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2011 18:05:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGeGZ-0001kf-2q for emacs-devel@gnu.org; Wed, 19 Oct 2011 18:05:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGeGX-00046n-TQ for emacs-devel@gnu.org; Wed, 19 Oct 2011 18:05:39 -0400 Original-Received: from mail-qy0-f169.google.com ([209.85.216.169]:46076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGeGX-00046i-Px for emacs-devel@gnu.org; Wed, 19 Oct 2011 18:05:37 -0400 Original-Received: by qyk29 with SMTP id 29so3975005qyk.0 for ; Wed, 19 Oct 2011 15:05:36 -0700 (PDT) Original-Received: by 10.229.71.139 with SMTP id h11mr1895569qcj.87.1319061936803; Wed, 19 Oct 2011 15:05:36 -0700 (PDT) Original-Received: from pluto.luannocracy.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com. [207.172.223.249]) by mx.google.com with ESMTPS id cb11sm8331653qab.3.2011.10.19.15.05.35 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Oct 2011 15:05:36 -0700 (PDT) Original-Received: by pluto.luannocracy.com (Postfix, from userid 501) id 0AD5C1147504; Wed, 19 Oct 2011 18:05:35 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Wed, 19 Oct 2011 18:01:55 -0400") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.169 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:145356 Archived-At: on Wed Oct 19 2011, Stefan Monnier wrote: >> There are packages that do this today and it works well, but IMO there's >> insufficient standard infrastructure available to make it easy, and >> that, in general, keeps packages from using process-level concurrency >> effectively. > > Could point to those packages that do it? Without seeing examples it's > difficult to know what kind of infrastructure would be handy. For example el-get (http://github.com/dimitri/el-get) does autoload generation and installation of some packages (e.g. wanderlust) this way. >> For what it's worth, experiments show that launching Emacs >> as a scripting engine (e.g. using it in a shebang) is actually more >> efficient than launching some more traditional scripting languages. > > That's indeed unexpected. Can you point to some more details? I think I need to ask John Wiegley to fill you in. He did the experiments. John? -- Dave Abrahams BoostPro Computing http://www.boostpro.com