From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iOiiKKTHAmUJDwAAauVa8A:P1 (envelope-from ) for ; Thu, 14 Sep 2023 10:43:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iOiiKKTHAmUJDwAAauVa8A (envelope-from ) for ; Thu, 14 Sep 2023 10:43:16 +0200 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 5FB0634A55 for ; Thu, 14 Sep 2023 10:43:16 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694680996; a=rsa-sha256; cv=none; b=SIGrJhH+UxdX92lDYM7k9HY1d/gylnA4Y2uvAP3jH32VbokYsRdjmFVzsTewgdda8GI6Q2 waat82/9MbGZvA22SSfxLAGG1Jax7xFfZDyaV8W3r16RIL0fegT8H6ifMLN7ossmfkyYPe JlySut3/vpN8OVkh6geWO+K2OYyS6ph8pytrEoExjo9MAtpp8bZB82Yzxqcapr3eU66Vpp yKQHnSw6ANUP2qv/sLG+yDKgUPftl3TWZctl4G4l/m4LwmVQH79uHDNVBR4lHWvnv373p5 nuXMEI6THKggPvXFHfMcQH9Wne1ds0naKhum3Qi0bYZsIxPOKeC2vPiC7sXcXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694680996; 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; bh=aaAuJZzrDNXLnNoHm3I2kC8jyOJ2ubO145Xg08GWD3U=; b=UT6qNTCysv6FmRngqRKvOs9vnXpM5yFCQSQ4UbXm9y6lstdQlbPgTns3X6vuPJZ+agdrkt J1W0bRzjnVTDpOaHZAR25qv6chDcnAvSWbOvGKDUm7DRwzl9hRo8B6f48EoG4Pl9c1U3u4 ronIR8xUAYZ+vlHEvgGogU/dr2VgrTbzDrvXW4njBi3vyRhNxX8+D1vtAxA84Xn5NulmMJ osJ3Cc5tzX4wq9NT18aPcc5UYYNnWWs3EzukcRYgH51sMwHBscpxRZ7E8P2VjUMRvWcTDG b/91zTwgRISqjxDw3DN7/FgVfNam9hjsHC7RSfBFfmgeCgLTsSq+605jocvMSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qghvn-0002nK-1V; Thu, 14 Sep 2023 04:42:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qghvl-0002mj-63 for guix-devel@gnu.org; Thu, 14 Sep 2023 04:42:33 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qghvj-0006B3-Ke for guix-devel@gnu.org; Thu, 14 Sep 2023 04:42:32 -0400 Received: from localhost (unknown [217.155.61.229]) by mira.cbaines.net (Postfix) with ESMTPSA id F27E527BBE2; Thu, 14 Sep 2023 09:42:29 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 1dc585dc; Thu, 14 Sep 2023 08:42:29 +0000 (UTC) References: <875y4et4up.fsf@cbaines.net> <87zg1quhbn.fsf@gmail.com> User-agent: mu4e 1.10.5; emacs 28.2 From: Christopher Baines To: Maxim Cournoyer Cc: guix-devel@gnu.org Subject: Re: Implementing the guix-dameon in Guile Date: Thu, 14 Sep 2023 09:22:05 +0100 In-reply-to: <87zg1quhbn.fsf@gmail.com> Message-ID: <871qf1tabx.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.53 X-Spam-Score: -7.53 X-Migadu-Queue-Id: 5FB0634A55 X-Migadu-Scanner: mx2.migadu.com X-TUID: bLsuuot6XQQu --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Maxim Cournoyer writes: >> The transformation toward a Guile daemon is a point of consistency and >> pride for the project and therefore unlikely to be second-guessed or >> reverted. My recommendation is to replace the daemon gradually=E2=80=94w= orking >> from (apply system* (command-line) downward=E2=80=94and mainline your >> incremental changes as quickly as possible. > > I had some musing about the daemon recently; I was thinking libguile > could be added to our old C++ daemon, which could then replace its > functions piece-wise with Scheme implemented ones? > > At the end, we'd have almost everything in Scheme, at which point we > could rewrite the main loop to Scheme and say farewell to the old > daemon. > > Would that approach makes any sense? I know of at least one C++ project > integrating libguile, and that's the jami-daemon, so it could perhaps > provide some clues as to how to proceed to do so. I think it's a viable approach, but probably not one for me. Since I don't really write C++, I think that trying to replace parts of the C++ code and keep things working would take more work than just writing Guile. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmUCx3JfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xe4pA/6AgTV2jR5ibEkRbHOcnvcJALnDdc4dpRo Nj53h81y4oTg6g14F1NMBOBrW/uCZgamuMcGmW++1AxzGKgakorky2xhtP+FPnDJ nJZUPBwwGXUE1Y3t0ouyANvqZs/WjRommE3/4LzSC1XEUq4FmFcxpdQpoMpDBc8W NdjwvG3DrIiRDVBVb0MJtZo7Ekt5O1REDdOh3omNPcuACkRVkAYOwi+Z/0V+7rlC qMRrByvDZ69CTDdSQ81XmAts5v1sILZ1NQz1A3mdJ8y5Zjt4Ej4FSmzyEw9bxUko xfl/C+WrfL1aVkPc3wXwpfUGCSa/Ux8VxiuWfIlNj0zh2CVFzy2f2gZiM3cSwgT4 crdMUddoZZF1lLFM98mTZImbjp2CPs/OfpA0iuKrr9aCbbKROkAaEu4AeKswtsAr tNNVULpChGXl6HjbQC6vw+nZYlalVjddJa66wyH458WrYknrzspcJGmhOIhfq5Dh tkH9gfl473Yg1+Jp0faGQfM2Y+QbSOza15yRC3DZaBfIrcqlR4NILT/wprjpisI5 Fa2CWFlRZTZbUFpyIPzGXAOgO6UA680am/PcylV66yEwPGpB9E2qZEYMtMtXBIKp Sg1rFCwFV6TfPfvXP92PtKH05vCv+tlMCMZ/Iq96Lvt2SQcS9cV10rDwtdnnW3aV AXnSc0TzU1c= =zH07 -----END PGP SIGNATURE----- --=-=-=--