From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4AnZCjTKXmcBnQAA62LTzQ:P1 (envelope-from ) for ; Sun, 15 Dec 2024 12:23:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4AnZCjTKXmcBnQAA62LTzQ (envelope-from ) for ; Sun, 15 Dec 2024 13:23:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=FcCm9Elx; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734265396; a=rsa-sha256; cv=none; b=uTUPZ1rj6ROXcB/6LGCLtV+8yvmrEBMipUyj6Unf2zFpX/el8nDsUcbfaKrouEgxuflwuF KpAvwu6S/l9zYYmRVknNlVatrFS5D5ZfA0M7DkXIJDMRk4g2K2dpx/OK5PTqyX1fFXZjuQ IRwvvLcE3UVoYpxQ3F633SE0QciDwjxFbpjoOS7zB2MPLOfXu6CyqIs+hqfs0qL3VH/JVd Ot7wXCUauU4jJOYfiK/zlMzdu+DiNI1bhw0rDEJ/XFrkQII1JbEgupbit1hILARSLZLfLG WO+dE5CSIjHEmnjAmMEF4o02apaAqvSIPvPiZg7UrTm4lAJ1PyiV1COxF8KIAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=FcCm9Elx; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734265396; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TNsrNa5I8AlR02wZPjRVS1GnfMo19oHjFM4th+na/f8=; b=BcPRYgDmujybBk3aPQ2iEEsaVdj2woCz67ANhviDd1u8hnzgORp9KJxsZXlNSfGR2GecXN 4qbt1HUSTnLgCgdaUQO3xALib5SFF430XE8jf2Y95zSShSLXAu2pG4dQTp8Nt88sO6wzBP R26zfIkoRtuVeF+relSmuXvS23sc046xsraLxC7BUYrXKMuGM+V8XHiGfUzt5bhHS1AMyn HR0RdHOgxQJESpnh4veAL3p6RHd4YC0k9tb1pLOccLgUOQ7pK+q63VG/mpUA82Kgha5lP1 Z+PrQ6EN2badtC7pVErhwNAZhLwzU9L/pVCZxJPHHEyElD57qUx0C2snmEEUEQ== 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 2E6E41EB94 for ; Sun, 15 Dec 2024 13:23:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMne0-0008Vs-Lb; Sun, 15 Dec 2024 07:22:44 -0500 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 1tMndy-0008Va-4E for guix-devel@gnu.org; Sun, 15 Dec 2024 07:22:42 -0500 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMndw-0001JA-Es for guix-devel@gnu.org; Sun, 15 Dec 2024 07:22:41 -0500 Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-2ee50ffcf14so3335084a91.0 for ; Sun, 15 Dec 2024 04:22:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734265358; x=1734870158; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TNsrNa5I8AlR02wZPjRVS1GnfMo19oHjFM4th+na/f8=; b=FcCm9ElxpTUeqnLSpSmNwhCoWkkUFY1wSif7fJIRMNtJnXbcvIUMrozmcVUCjLUmFd xLMPOcepVTUsKNHWXSNbukIc5viHG4A5G79xCnLUHVI7H/bTyWwG6UguVysbiC6f+5Q6 96Bl6uBTNpk+LfD6fE9z1JStIfHt0681PZhQK0nbTIuWS3L8fZShYReDjau+8yDISB7h 5XHm911VNbshHY4X7GCJC/PKmq8vDav9f2Q2UueUNsbQfFvccSWpAvVC50RxYeaR1Hlk hHFE6x17c0eVDCUk1GTmYsFqWJ/9Pxoo+Fmlp3aCLTKD/54DRiFnVATEakcipZ6C75SA sx1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734265358; x=1734870158; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TNsrNa5I8AlR02wZPjRVS1GnfMo19oHjFM4th+na/f8=; b=cxl9d8i9W8C1WqovQLaadW6FnN0ujN4EJHB868y6kGAgXjKF1eoAKHzyFkhdIyPz3c D58N16ZDqmSzuRkVGWfZTJOiVyueswPC9o2otYaLL1cEuU8S2FnH6w78Y3JCHjZyUtFt j+uMSGt7zazaNR5cpLyaBXVUqwfQr2djc67VnJB/DGHt/bp+BEZ4wN1BQkGAMwung8kG JXi1CD6YgMWVsgQruuwyauzUHp1ZM3iMTjEY5l2VoiWtVBXZoUTuOIdwlHYz39m5Fa5N VHxlczQInyU1d+hM3kCP0RmVfgVNB8tPfQC8MkX/A0nt5/J33V67kJjCZTlp1OAUJohr Fy8g== X-Forwarded-Encrypted: i=1; AJvYcCWCnBBq1Mz+sbFT3AlznbF7MR79h6QLMjqRvCfr5NX4n8Ot1HCCSMPlVHkQZNiKvqG0pfjmOPTgcALD@gnu.org X-Gm-Message-State: AOJu0YxJ92+//Si/MxuXrdxO9HmSiBX1SK55U6lSfp4iN1ySTPai0L8F 103NKcvGlCwEvNGxOV3UqUe2EU9fygh++YSqdu7jCiaR+tmf1LdbVLw0ntJ8 X-Gm-Gg: ASbGnctP0M3y0yf4TZwjNUf3W6YyBfBU/sjeWaMBVZAFsl576pwrUO/Z/xd7VpVBntj E5iTBEf/ssAKOnhzgQRiLun/I/PUT7XbF3wN9npeWdb+QvjblMS5/n72he7Ml17cUgY1vswKWe3 VPtYFukOiTzhqIgnsOg4lckNuzlD2ZyltSg2Mb3XbN8fEboqMGw425xSaQDEciQKxAGL0KADnAY rbtMq/lP4nLAEE8x2ne397OxDl1URCuNAjWJ8YZq4t0CaiiGW8Arw== X-Google-Smtp-Source: AGHT+IGXiq/y44wf0mrfWaG+h62nc2Rqu8BDOoT702l47UZfmNgwnS0Vtvw9Qp6DUdm3U3VXO2+7eg== X-Received: by 2002:a17:90b:3d03:b0:2ee:94a0:255c with SMTP id 98e67ed59e1d1-2f2919b9ed0mr13333259a91.13.1734265358212; Sun, 15 Dec 2024 04:22:38 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f2a1e9f6aesm2787238a91.21.2024.12.15.04.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2024 04:22:37 -0800 (PST) From: Maxim Cournoyer To: Simon Tournier Cc: Ricardo Wurmus , Evan Cooney , guix-devel@gnu.org Subject: Re: Including code in a non-Guile language into Guix In-Reply-To: <87pllzy08d.fsf@gmail.com> (Simon Tournier's message of "Tue, 10 Dec 2024 17:24:50 +0100") References: <87zfmkl048.fsf@elephly.net> <87pllzy08d.fsf@gmail.com> Date: Sun, 15 Dec 2024 21:22:27 +0900 Message-ID: <87ttb5w2yk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-pj1-x102e.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.72 X-Spam-Score: -7.72 X-Migadu-Queue-Id: 2E6E41EB94 X-Migadu-Scanner: mx12.migadu.com X-TUID: i9/xzpROPzoZ Hello, Simon Tournier writes: > Hi, > > On Thu, 31 Oct 2024 at 17:15, Ricardo Wurmus wrote: > >>> by rewriting some of the >>> code in a more performance-oriented language like C? >> >> No. >> >> Guile is not the bottleneck. > > For what it is worth, some months ago I gave a look to =E2=80=99sort=E2= =80=99. > > The current implementation provided by Guile is written in C. Guess > what? I wrote some pure Guile as fast as such C (if not faster!). > > https://simon.tournier.info/posts/2024-02-05-guile-sort/index.html > > To make explicit my understanding of Ricardo=E2=80=99s answer: no it=E2= =80=99s not the > Scheme compiler provided by Guile that is the current performance > bottleneck but there is still room of improvement for the whole Guile > (Garbage Collection, Standard Library, etc.). Thanks for sharing; that was a fun (and impressive!) read. Congrats for the blog post and new sort Scheme implementation! --=20 Thanks, Maxim