From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen?= Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] add SRFI: srfi-121; generators Date: Tue, 26 Jan 2021 08:14:48 +0100 Message-ID: References: <87r1mcfozv.fsf@netris.org> <87lfckf9ac.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a5ed6505b9c86958" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34259"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Shiro Kawai , John Cowan , guile-devel@gnu.org, Mark H Weaver , "Arthur A. Gleckler" , srfi To: "Linus Bj?rnstam" Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Jan 26 08:26:56 2021 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4Ika-0008oF-I8 for guile-devel@m.gmane-mx.org; Tue, 26 Jan 2021 08:26:56 +0100 Original-Received: from localhost ([::1]:39162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4IkZ-0001V4-FD for guile-devel@m.gmane-mx.org; Tue, 26 Jan 2021 02:26:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4IZO-00024o-Dg for guile-devel@gnu.org; Tue, 26 Jan 2021 02:15:23 -0500 Original-Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.25]:13666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4IZ9-0001BH-W8 for guile-devel@gnu.org; Tue, 26 Jan 2021 02:15:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1611645302; s=strato-dkim-0002; d=nieper-wisskirchen.de; h=Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References:Cc:Date: From:Subject:Sender; bh=8wtN77HlPiJqKIe9CBflgG7IOofO09O5+GZgvmwywBs=; b=SRDYgyVCVI1yyFxcT6x8bCWcP7vf1Upq2tFvm25u9Snr2RLfIl1yjOYF/ZRy75yNf5 tkxihf0YFBIZ4byvPBdG5Yts5nb5G9lTRdOv90G4rBrGhzGCbDLPyqPVexUlwpW5xSA7 hYGWg2dpZh7xU1+s9r/ld+ZNAjYihJW+0lnLUUfQY54hjmTFfGOdtyfTvc/3dCkHrgqo 8SPBLSWKWo/JclEcoocffH5559LWl05mAQ0ZJp2bHObzIP32TOMCPkFMnv/xfxQTT3z7 90iLPw6NcRSJVvMNz6fndFDGt8K3zOmQI3gMDIibZy9r5FXPpmDkPcAZLotiwAuWPj+h zgmw== X-RZG-AUTH: ":IW0WdmCmcvpIrP2+VJuPtIhjJvc4Ig+QdhX22iZVwSDOx4Kp3cYsBVGy6CZgmO/guIaKV85565IVMg==" X-RZG-CLASS-ID: mo00 Original-Received: from mail-pl1-f171.google.com by smtp.strato.de (RZmta 47.15.1 AUTH) with ESMTPSA id 60a538x0Q7F1jtm (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Tue, 26 Jan 2021 08:15:01 +0100 (CET) Original-Received: by mail-pl1-f171.google.com with SMTP id 31so9284406plb.10 for ; Mon, 25 Jan 2021 23:15:01 -0800 (PST) X-Gm-Message-State: AOAM532DBfFpIlrPqmcXFIYWOGuHJKAml8RxLp1AbA4fJds9ixHYHBtS RdXkD1RydmkUZ7lZlGIaCl/HwA0VU+Gk57r06vE= X-Google-Smtp-Source: ABdhPJx7JXtM4doI8KtH7Hw0gsH41pm17e88J38G61NeAOp853g4Tx5VeD1Z8Fmb5BfcDfjqGcQ0uLH3ijbH1cTqDJY= X-Received: by 2002:a17:90b:33c4:: with SMTP id lk4mr4807129pjb.157.1611645300631; Mon, 25 Jan 2021 23:15:00 -0800 (PST) In-Reply-To: X-Gmail-Original-Message-ID: Received-SPF: none client-ip=85.215.255.25; envelope-from=marc@nieper-wisskirchen.de; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20653 Archived-At: --000000000000a5ed6505b9c86958 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Di., 26. Jan. 2021 um 08:08 Uhr schrieb Linus Bj=C3=B6rnstam < linus.bjornstam@veryfast.biz>: > Hi Y'all! > > I have an efficient, almost done implementation of srfi-121. I believe it > lacks generator-unfold, but that is all. make-coroutine-generator is > implemented using delimited continuations and runs a lot faster than the > one in the reference implementation, with the caveat that it is apparentl= y > slightly incompatible: the coroutine generator usage in (srfi 146 hash) > yielded the wrong result - despite my version passing all tests. > Can you post a MWE? --000000000000a5ed6505b9c86958 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Am Di., 26. Jan. 2021 um 08:08=C2=A0Uhr schrieb Linus Bj=C3=B6rnstam= <linus.bjornstam@veryfa= st.biz>:
= Hi Y'all!

I have an efficient, almost done implementation of srfi-121. I believe it l= acks generator-unfold, but that is all. make-coroutine-generator is impleme= nted using delimited continuations and runs a lot faster than the one in th= e reference implementation, with the caveat that it is apparently slightly = incompatible: the coroutine generator usage in (srfi 146 hash) yielded the = wrong result - despite my version passing all tests.
<= br>
= Can you post a MWE?

--000000000000a5ed6505b9c86958--