From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: Concurrency, again Date: Tue, 25 Oct 2016 23:28:51 +0000 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> <83funkwfzf.fsf@gnu.org> <87k2cwe4wl.fsf@jupiter.lan> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114b30f8ab8de2053fb8df38 X-Trace: blaine.gmane.org 1477438200 628 195.159.176.226 (25 Oct 2016 23:30:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2016 23:30:00 +0000 (UTC) To: Stefan Huchler , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 26 01:29:55 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 1bzBA5-0006Ii-CJ for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2016 01:29:41 +0200 Original-Received: from localhost ([::1]:58697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzBA7-0001rB-RK for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2016 19:29:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzB9U-0001r6-QN for emacs-devel@gnu.org; Tue, 25 Oct 2016 19:29:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzB9U-0005GV-3E for emacs-devel@gnu.org; Tue, 25 Oct 2016 19:29:04 -0400 Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:38524) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzB9T-0005Ex-Sq for emacs-devel@gnu.org; Tue, 25 Oct 2016 19:29:04 -0400 Original-Received: by mail-wm0-x229.google.com with SMTP id d128so55235386wmf.1 for ; Tue, 25 Oct 2016 16:29:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=wRQ36HZr2NNpG54bjEKu0uF9ww+OZaBGNUd5lSMfRX4=; b=KBREIMCJ2bxKJbfDeCw0SjHWjD0wujuDHx/BGiMLYYptR87BdXQg//DK0f90ddQQ5h HYPex9c3AdhxNuuGbRE/F/UU/wN6B7kkgm+JZAxNwDTBeux6m7LWnhks0M/0IUS7k5+x TJdYWzSMldMTbXMXSNn0urkmmf/Qoj4rOaaGUmjppmE0FJi2xAOulvZrvH76PnGder1/ RYvEghwLHZeaaopqXsoxbc976m1RuQHD9tdnNpRDqygKPlVs5YUoue502bd2wXUfGAZN jIXnMPwfIr8+rrGNTWEYa9sWRreNuRrALdlQWsS5c6h6/Z/OLPBo+q35QaxSwN9OL98g k4Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=wRQ36HZr2NNpG54bjEKu0uF9ww+OZaBGNUd5lSMfRX4=; b=Z16KHP0HbKiOH8BWQ97U+pmD3jSjyBZtPjKevLcCEzCB45nv/WQ1Yjq4vkIG8y6if9 24ACwS6X7bHhPNDS57ng6v6rVZD7WEZN3QHyKgrpL1EVrptWbjIrJpieEXcLVV04PIML RW4mwukWHbqSZBtdhQuMMdQJP13qBSdHLrYWTBJNIrqZJR5X/i2zHTGPado2qKguYCpD pn2/Hkb62s9wwnsKAFGsSovnBgXSW3kO75/eQ5YfsA3L1S7mT+Ej5jXuk5BH13tMLHqz 2ziBTb0ZV9IrBJiftsYyGGLaqmwup1/kx2vFEnVF0ioCxdVIiS76TIYwjQsyvUEtShQQ gt9A== X-Gm-Message-State: ABUngveVrT53cB8K6pDVWSJsC/GKcePSryp82O8NjrVrB+qvkU1oQtETlSI8D/eKnu9zf+Smbd7MOEzoRfbsyA== X-Received: by 10.28.73.214 with SMTP id w205mr5659317wma.86.1477438142643; Tue, 25 Oct 2016 16:29:02 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::229 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:208811 Archived-At: --001a114b30f8ab8de2053fb8df38 Content-Type: text/plain; charset=UTF-8 John Wiegley schrieb am Di., 25. Okt. 2016 um 23:46 Uhr: > >>>>> "PS" == Philipp Stephani writes: > > >> Are you willing to invest much time in implementing your solution? > > PS> I think this is important, so I'd be willing to spend some significant > PS> amount of time on it. If it turns out to be a huge time sink, we'd > still > PS> have the existing concurrency branch, so we wouldn't be worse off than > we > PS> are now. > > This sounds great, Philipp, I look forward to your experiment. > > I've pushed the experimental branch to 'concurrency-libtask'. It's essentially a simple wrapper around libtask, which implements CSP based on setcontext. I've also implemented a Windows equivalent based on Windows native fibers, but haven't tried that yet. --001a114b30f8ab8de2053fb8df38 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


John W= iegley <jwiegley@gmail.com>= schrieb am Di., 25. Okt. 2016 um 23:46=C2=A0Uhr:
>>>>> "PS" =3D=3D Philipp Stephani = <p.stephani2@gmail.com> writes:

>> Are you willing to invest much time in implementing your solution?=

PS> I think this is important, so I'd be willing to spend some signi= ficant
PS> amount of time on it. If it turns out to be a huge time sink, we'= ;d still
PS> have the existing concurrency branch, so we wouldn't be worse of= f than we
PS> are now.

This sounds great, Philipp, I look forward to your experiment.


I've pushed th= e experimental branch to 'concurrency-libtask'. It's essentiall= y a simple wrapper around libtask, which implements CSP based on setcontext= . I've also implemented a Windows equivalent based on Windows native fi= bers, but haven't tried that yet.=C2=A0
--001a114b30f8ab8de2053fb8df38--