From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oINDGBqskWCwQQAAgWs5BA (envelope-from ) for ; Tue, 04 May 2021 22:18:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8EBNExqskWD9GwAAB5/wlQ (envelope-from ) for ; Tue, 04 May 2021 20:18:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 13C451AF26 for ; Tue, 4 May 2021 22:18:34 +0200 (CEST) Received: from localhost ([::1]:37810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1le1V3-0005JI-80 for larch@yhetil.org; Tue, 04 May 2021 16:18:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1le1Up-0005Gs-R3 for guix-devel@gnu.org; Tue, 04 May 2021 16:18:20 -0400 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]:58588) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1le1Un-0003Il-Eq for guix-devel@gnu.org; Tue, 04 May 2021 16:18:19 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id 0kJD2500T0mfAB406kJEYx; Tue, 04 May 2021 22:18:14 +0200 Message-ID: <1ba5e5147ae377d0e301863f8e794fe5b92b6a04.camel@telenet.be> Subject: Re: FYI: guile-scheme bindings to GNU Mach and the Hurd From: Maxime Devos To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Tue, 04 May 2021 22:18:03 +0200 In-Reply-To: <87r1io5076.fsf@gnu.org> References: <87eeeq7awi.fsf@dismail.de> <228176b60edf4487b41da867d3fe8b74cbf64b16.camel@telenet.be> <87r1io5076.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-gt6ypLpdcH0yHe2Vgjf6" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1620159494; bh=F3FC8JMqVib9nGRpUk1+elwCYHUQUen9J+x/m1YLSoY=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=eOgDB48jTZvP16u9XIhDIlwN/oSSzFTW1MHP+mU+OI4e56ZEnPGCU+wBm+GxLT+UC Zi0mtXyG+2sp6tV1Eg9Tx0Wa5jDgM2oQiiBZ5xlgB6F5j660BA3I+Achgt1j4O8P3B UC+zVhh3d0tsymht+bsmIaVtfybX1N3ihLnIuuIG8oBOxWj1bGPLlMWU7EGTr+bvCp HrGlisD9Pm/PAVvPkm+DBLgkBbta/ZnmeTn2fPzWGc60sfEW+4/mu8JANtcKAxrrLi fdzik3/wSQHMpUovYM7n0kN9xXI4ythgxD8NGg+AIOO4BPPTabL+tArVtY6TFhcgCz g9DgufSEXkymw== Received-SPF: pass client-ip=2a02:1800:110:4::f00:1a; envelope-from=maximedevos@telenet.be; helo=albert.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: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620159514; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=F3FC8JMqVib9nGRpUk1+elwCYHUQUen9J+x/m1YLSoY=; b=pJkdOuPU7hb+EOwbOf0DIQKx5dKf0pDu77oaHJnhjgp5uVRC2Da3fRIRJVTF116VrQQ3t3 xuDgng2czcxzbSLPRj40Ay0TfyiNh/gK4nXU/wrqYlV8J+PmSOq+Ko8mWPPBL0E0IIAbwC vRSMee1pYxnvOqQ37qCho+G+SgWdavN1VHwidOfeQpPGWSsvaxnSgg02DHa9fWeIVuFIWe sgeRC9ID78ZGYgkewwTvFLbOMzq+X4S2k++WexkmTCEh32akGfsChdUvNiogsbtjW8vjr5 WxYI2m+hTpk70U7tAdhqlyINI9wKVnOfUBZ25YE5wnloiV+t27nYgLBPobn0Ww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620159514; a=rsa-sha256; cv=none; b=nIV4fWX97weRPjVrAhvIxl2hAZFhwmNRa6S/GFksXEJDlMYYk+klElvyp+IuMOaML4di6k s5dhP4IGzi5xLMChsx/8Vyy0YMx0UGGsqtfgnz7PtqorVMAMSKbR8dZXEaBMoQqBzf00na XduRxZ3tA59OgBtus8HJKfBqPuknP5IbEMGff7rWTWotsUj/MffTT/+FHLCJQ/tC8K31pb eX7VjkMt7+uvnZ2QeTsD2tTXzAReX1u8SzEOyZWR0j+ahfkd/jHf/kTIYa4a/JaqCy+q5a bIYOgwFgT07OZJjR/IlyycBVLjhQQ4us4t67zdVOfszWlKnJHSu2nYThJWewsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=eOgDB48j; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=eOgDB48j; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 13C451AF26 X-Spam-Score: -1.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: e7pGItDKqVLA --=-gt6ypLpdcH0yHe2Vgjf6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op zo 02-05-2021 om 22:51 [+0200]: > > [...] moved it to ;. >=20 > Nice! I knew of the Common Lisp effort this is based on, and the idea > of reusing the .lisp code unchanged is smart. Looks promising! The initial idea was to keep most of the .lisp code unchanged and =E2=80=98= convert=E2=80=99 most lisp -> Scheme by defining appropriate macro's. However: * the procedure names are adapted to Scheme conventions (! for imperative procedures, ? instead of -p for predicates, ...) * the Lisp code is rather sparsely documented, so I'm adding docstrings and some comments. Particularily important for people who don't know muc= h about how the Hurd and Mach works (e.g. me (-:)). * the Lisp code uses as foreign function interface, which uses CLOS. While much of CLOS can be =E2=80=98implemented=E2=80=99 with macros that use GOOPS, there a= re some incompatibilities (e.g., :after, :before and something else I forgot do not exist in GOOPS= ) which cannot be easily worked around It is (in-progress) fairly easy to modify the mach/*.lisp code to use gu= ile's FFI instead. E.g., see and I probably need to change the README.org. There were some other points I wished to raise, but I'll stop here so you don't have to wait a week on my response. Greetings, Maxime. --=-gt6ypLpdcH0yHe2Vgjf6 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+4iGRcl7gUCYJGr+xccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lLjAQDELOLLylXTInK8isgH1xIHY+v6 Wz/l4H8kSgu4d13G/QD+Jsdiu2TgXVUJrdU6CUL7P2vlIPkAHvJFuIbI7BA6ZQs= =Dvnt -----END PGP SIGNATURE----- --=-gt6ypLpdcH0yHe2Vgjf6--