From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxime Devos Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Re: Scheme+ Date: Mon, 20 Dec 2021 17:33:11 +0000 Message-ID: <7706b14ef6319e7784ee73a74ec399db28751c53.camel@telenet.be> References: <14e10823-2655-48c2-9736-383708da492e@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4929"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.38.3-1 To: Linus =?ISO-8859-1?Q?Bj=F6rnstam?= , Damien Mattei , guile-user , guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Mon Dec 20 19:11:00 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 1mzN7k-00014f-D0 for guile-devel@m.gmane-mx.org; Mon, 20 Dec 2021 19:11:00 +0100 Original-Received: from localhost ([::1]:50728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzN7j-0003ZA-8s for guile-devel@m.gmane-mx.org; Mon, 20 Dec 2021 13:10:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzMXF-0002er-FY for guile-devel@gnu.org; Mon, 20 Dec 2021 12:33:17 -0500 Original-Received: from [2a02:1800:120:4::f00:15] (port=34398 helo=andre.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzMXD-00049X-7O for guile-devel@gnu.org; Mon, 20 Dec 2021 12:33:17 -0500 Original-Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id YhZB2600C4UW6Th01hZBeV; Mon, 20 Dec 2021 18:33:12 +0100 In-Reply-To: <14e10823-2655-48c2-9736-383708da492e@www.fastmail.com> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1640021592; bh=ihlMbvcqRv7TLL9g0AaavxV9cmYq/3tKMiLYBaQllqo=; h=Subject:From:To:Date:In-Reply-To:References; b=ogB+EYSOKnmdIDkJ0ybWozSUStIUWekolA85FaL+1jj/TUseTRZdt0L3Jf7AB2i/8 RKk697g1V5jsNPN9lT8e8sRYT68i/Est97a5L6MHZXkLgjgPlqwWWXvT6WapGdO8JA fiHj2EIvoKGv/BRveLIF1t9hvgSJxbC2tPLLeLq3PsOiNXxHaLAfEd892LQpHMAaXv De0nfzyoCBtf2dbEmMk8i7Sg6fIFv42qIgybMmPs+EBJqalczBnpwjIInIO1x3Wdym Al7Uo1i4AhnvQsXIRZVyHWE6qB+aohAFWju/BXfdlMdaF++UkkuqUeL2ehf0XEW+TS 26FK+ZF0zmzfA== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:120:4::f00:15 (failed) Received-SPF: pass client-ip=2a02:1800:120:4::f00:15; envelope-from=maximedevos@telenet.be; helo=andre.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 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:21020 gmane.lisp.guile.user:17889 Archived-At: Linus Björnstam schreef op ma 20-12-2021 om 09:15 [+0100]: > I played around with it and it seems to rely heavily on mutation, > which makes guile (and chez and racket for that matter) box the > values. That adds a layer of indirection to memory access, meaning > slower code (apart from the more obvious problems of continuation > safety and threading safety). Concerning thread-safety and continuation safety: as long as continuations aren't resumed multiple times (*), and as long as no closures are passed, then the mutation doesn't make any observable difference (except fastness). (*) E.g., the continuations that guile-fibers construct are resumed only once. Greetings, Maxime.