From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: wip-ports-refactor Date: Tue, 12 Apr 2016 10:52:44 +0200 Message-ID: <87potvmco3.fsf@pobox.com> References: <87twjempnf.fsf@pobox.com> <87pou282vo.fsf@dustycloud.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1460451190 1368 80.91.229.3 (12 Apr 2016 08:53:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2016 08:53:10 +0000 (UTC) Cc: guile-devel@gnu.org To: Christopher Allan Webber Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Apr 12 10:53:03 2016 Return-path: Envelope-to: guile-devel@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 1apu4F-0002gi-2Y for guile-devel@m.gmane.org; Tue, 12 Apr 2016 10:53:03 +0200 Original-Received: from localhost ([::1]:44981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apu4E-0008SE-Gw for guile-devel@m.gmane.org; Tue, 12 Apr 2016 04:53:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apu4A-0008Ok-LZ for guile-devel@gnu.org; Tue, 12 Apr 2016 04:52:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apu47-0004lA-FR for guile-devel@gnu.org; Tue, 12 Apr 2016 04:52:58 -0400 Original-Received: from pb-sasl0.pobox.com ([208.72.237.25]:61310 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apu47-0004l4-Bf for guile-devel@gnu.org; Tue, 12 Apr 2016 04:52:55 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl0.pobox.com (Postfix) with ESMTP id 705B950B94; Tue, 12 Apr 2016 04:52:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=8xmnNjOO4jXG dqmAw8VY0M6C5LM=; b=p7ft0nn6UfhDRiPM0eN00MlC0CYFUOCDsyUiAa5BaSzC BrU0EKGkbLRoa7kF4G0s1gBOvPq8Y+bdspshJAV+A5nP1dLtkFbJwmKki1xK2lIR Jja+hs7JMN4BbL9FblqWIJBtTnkhgJenoaStQAzN2R78UTONT0legen0PvQ0ORU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=BGx8bH btZgn3XxA338Z82ZmySVLqVAfW7lsFB1i7BwXezkxfn5ZRBUBO81kT88jW63Zg1D WkWLjqmjik2HA5DlZQUB5h3CktLc3zCjgVVFEU3mf8MFfKbt65frrSNrWAfZ6r3o NUCddinlRo0aYIgy0g5bkjZqhh2MM5rgauA9Y= Original-Received: from pb-sasl0.int.icgroup.com (unknown [127.0.0.1]) by pb-sasl0.pobox.com (Postfix) with ESMTP id 68E3550B93; Tue, 12 Apr 2016 04:52:52 -0400 (EDT) Original-Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl0.pobox.com (Postfix) with ESMTPSA id 870BB50B92; Tue, 12 Apr 2016 04:52:51 -0400 (EDT) In-Reply-To: <87pou282vo.fsf@dustycloud.org> (Christopher Allan Webber's message of "Wed, 06 Apr 2016 23:16:59 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Pobox-Relay-ID: F0987614-008B-11E6-9B04-E4FB1E2D4245-02397024!pb-sasl0.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.72.237.25 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:18279 Archived-At: Hi! Summarizing my reply over IRC: On Thu 07 Apr 2016 06:16, Christopher Allan Webber = writes: > So, does this branch replace ethreads, or compliment it? Where should I > be focusing my (currently limited) review / integration attempt energy? > I've been hoping to review ethreads this week but now I'm unsure. Can > you explain how the efforts currently relate? This branch hopes to make the "eports" part of that branch unnecessary. However actually implementing user-space threads =C3=A0 la ethreads is out = of scope, as is the epoll wrapper. > One other question is if this will help in the "no nice way to do custom > binary ports" stuff that was blocking the > tls-enabled-ports-in-guile-proper thing... Was that the blocker? Anyway the current branch's ports are verrrrrrrry close to R6RS binary ports, so this shouldn't be a difficulty any more. I haven't implemented custom binary I/O ports (we have input-only and output-only but not both) yet, but it should be doable. > As I've said, I'm not tied to 8sync specifically if doing something more > internally makes more sense. (Even if I have a nice site and logo > coming together now ;)) I think keep rolling with 8sync :) It has a nice brand, it's filling a need that probably won't be filled in 2.2.0, it's laying groundwork for future Guile features. Eventually I would like user-space threads in Guile proper, implemented in terms of delimited continuations, and that implies a scheduler too. But that's a bit far off. My goal is to make it possible to add such a thing during the 2.2.x series, probably first as a library (8sync) and eventually as a core Guile feature. Andy