From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chaos Eternal Newsgroups: gmane.lisp.guile.user Subject: Re: asynchronous socket library Date: Tue, 16 Jul 2013 15:36:48 +0800 Message-ID: References: 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 1373960222 814 80.91.229.3 (16 Jul 2013 07:37:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jul 2013 07:37:02 +0000 (UTC) Cc: guile-user To: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jul 16 09:37:03 2013 Return-path: Envelope-to: guile-user@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 1Uyzol-0002sW-7Y for guile-user@m.gmane.org; Tue, 16 Jul 2013 09:37:03 +0200 Original-Received: from localhost ([::1]:58905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uyzok-0001yO-HR for guile-user@m.gmane.org; Tue, 16 Jul 2013 03:37:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyzoZ-0001y1-P9 for guile-user@gnu.org; Tue, 16 Jul 2013 03:36:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyzoX-0002gI-7c for guile-user@gnu.org; Tue, 16 Jul 2013 03:36:51 -0400 Original-Received: from mail-ie0-f169.google.com ([209.85.223.169]:55369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyzoX-0002gE-2I for guile-user@gnu.org; Tue, 16 Jul 2013 03:36:49 -0400 Original-Received: by mail-ie0-f169.google.com with SMTP id 10so911380ied.28 for ; Tue, 16 Jul 2013 00:36:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=ysDUem1wvY+aQsdA4SpSQRmNGM4IDeBZlqg32sdaZuk=; b=RG3/2jZTGW9ldpGru6y5jlUcXEjHc9jgx51hr4nXoY1Ve1K39hq/yxq41JiAQNBhXl 0C9M4sKOBafd3y59TlXHagENkJudS0gPJDVJM+CQ4HHQzgCsLcWm+wgq8YHf0xm8nHfK nIXFYwvCIovSPr53VU8t1BVWUnotF0gXuMsGnYGlidAtYsdFXfFFy+EKwS5JOwrW+uGj UxfS5vPtFC6+BqOzOc8AmKxmssCf11tGrtAPBP+8BVrPBRTcM0QVMRDBtPGRymZooTn9 kKxaRb3Y1x2YV0uJW77kRPVxPQNkl4m9WQE4DKe+UftgpWxd5LpzzHVB9XXbDNbfcSy1 5JeA== X-Received: by 10.50.101.36 with SMTP id fd4mr9364530igb.13.1373960208411; Tue, 16 Jul 2013 00:36:48 -0700 (PDT) Original-Received: by 10.64.10.9 with HTTP; Tue, 16 Jul 2013 00:36:48 -0700 (PDT) In-Reply-To: X-Gm-Message-State: ALoCoQktJ5hVI2M+h25kQHeZdEgAn6tmxh/z+m8wpjhNqjYS1G/GRkpFHrJLfubYlgS5dOfvjhsl X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.223.169 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10540 Archived-At: i think there is a nio branch for guile? nio means non-blocking io On Tue, Jul 16, 2013 at 3:02 PM, Aleix Conchillo Flaqu=C3=A9 wrote: > On Mon, Jul 15, 2013 at 11:15 PM, Javier Sancho wrote: >> Aleix Conchillo Flaqu=C3=A9 wrote: >>> I was wondering if there is (or someone is working on) an asynchronous >>> socket library for Guile. I was thinking in a pure scheme library (not >>> bindings for libevent or some other). >> >> If you don't use libevent, at least you'll need poll, epoll or >> something similar. Or how are you planning to monitor activity on a >> file descriptor? >> > > My idea was to create something simple on top of system calls, as > libevent does. This might mean that I need additional system calls > that are not in guile yet. But it doesn't mean I need to create > bindings for libevent (which would probably be smarter if I wanted > something complete). Basilica, the main idea is to learn in the > process. > > Aleix >