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 Subject: Re: thoughts on targetting the web Date: Sun, 20 Jun 2021 12:02:43 +0200 Message-ID: References: <87h7htfvy3.fsf@pobox.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-9YHxYGUb89AWdbTZlWXn" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22552"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.34.2 To: Andy Wingo , guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sun Jun 20 12:03:14 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 1luuIM-0005cv-9U for guile-devel@m.gmane-mx.org; Sun, 20 Jun 2021 12:03:14 +0200 Original-Received: from localhost ([::1]:59310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luuIK-0003f3-RM for guile-devel@m.gmane-mx.org; Sun, 20 Jun 2021 06:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luuI7-0003em-UC for guile-devel@gnu.org; Sun, 20 Jun 2021 06:02:59 -0400 Original-Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]:52344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luuI5-0006Bk-OY for guile-devel@gnu.org; Sun, 20 Jun 2021 06:02:59 -0400 Original-Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id KN2s2500t0mfAB406N2sdC; Sun, 20 Jun 2021 12:02:53 +0200 In-Reply-To: <87h7htfvy3.fsf@pobox.com> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624183373; bh=FrrIzJPPkFovB9a1J9nxxYE33TEmhGdDoSkxvZt/m3c=; h=Subject:From:To:Date:In-Reply-To:References; b=jOMp2AOjl+PWmMrO+vtVaTl8SpLK+fBBMKdvviPpAWpF5pRACALODri1p/zXGc5Vi pBUdiFjXfVarPaqomOSDixLSDfReA6DyzPTc7VwllsD+aj+UGbWWtAwsQsCK26xf3X fORGC5UtsJvlaUpwfHKCTa0wxJwt8bE4dRUO6obIvrGYuoN+UMgRcZ1MEZoDwDuhlf K2QNDwTh8B/i+8GIgT4Mh7CIKb6jrnFDZV+DpgiIfZ1vPeyJ6pHhhAFzZ9ALIGTOqX nPyipnaNz7KHuVth/+4JpurxoKQffZVsP12en9tXnoeXycja2uW3W37v2Y+HaKpxq6 SmfLlpL+KOgYA== Received-SPF: pass client-ip=2a02:1800:110:4::f00:18; envelope-from=maximedevos@telenet.be; helo=michel.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-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:20788 Archived-At: --=-9YHxYGUb89AWdbTZlWXn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Andy Wingo schreef op za 19-06-2021 om 22:20 [+0200]: > 5. Garbage collection. *We should re-use the host GC*. Although it > would be possible to manage a heap in linear memory, that has > retention problems due to cycles between the Guile heap and the JS > heap. I could be mistaken (and I haven't written any ECMAScript in a long time), but I believe ECMAScript doesn't have guardians, gc hooks, weak vectors and (key, value, key-value) weak hash tables. So, if we re-use the host GC, that would mean those GC things cannot be used right? In that case, it may be a good idea to raise an error at compile time if some code tries to use these anyways. (I've been using guardians and weak vectors lately.) Greetings, Maxime --=-9YHxYGUb89AWdbTZlWXn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYM8SQxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iekAQDt89wpiMhrxEB9+56P8LBSM/Xi c8cbA6RDaBPOchSuwgD+MIzT/cnZr7nCZzMB50EOKBtXCmCXvteNi1gzpKohvAg= =s8Yw -----END PGP SIGNATURE----- --=-9YHxYGUb89AWdbTZlWXn--