From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uCDDE0ZxWGcbcgAAqHPOHw:P1 (envelope-from ) for ; Tue, 10 Dec 2024 16:50:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uCDDE0ZxWGcbcgAAqHPOHw (envelope-from ) for ; Tue, 10 Dec 2024 17:50:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=jl45lmeT; 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=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733849414; 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=2YQ3EFhb4jxlhWH0yoIJ9syBkEVFs8Cw9R4fbLg93dU=; b=X9gbal1i8raOK4L9rJvcS22O18cjh8ZJ8XCl9FmaTJSGeOfqUpURBCYKn8v/5b9CX6iUMv aDM1KpBzvxDuzfw4R3FM+8ABpgeV3AbDCK0TGbVyLWtalM69pm5mK+S6YQdojOiCCfv3YR Wl/x3rvkdvzwXvYCioY1OM2zjW+ljCyhbbwjFEoZMdJRxsYxE7vvERv0xpmXwrv+iTA3dx 0slP32SmMrnklfKF+cIBmLkzsY7qcf9dSfTk0SU00fo/SLz7tVlxcJmcV/aPkahXXNTY5P EAMOHqozWND0ea9QockQF3S+LmzRc5AY+uQgZ/ka6ZxCxh3hbWjSxwDFa3hD+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=jl45lmeT; 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=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733849414; a=rsa-sha256; cv=none; b=dRSsBN0bsRGVRAr8GHWzTp67cY7huv5AzpqJBgj1VhIKnBrLPJGYfVYj/h78ONcRMBFU1U o4qX2IXjK17PrjNzYZ4OGHbnNfI4XMlTlr1oX0fWfBXUA+wQN/eWmCi9xdNhJP/Fnbg784 NZZ4eY+EkTD49Y8waz1U+4IPfptfVBAc6OUdFuinEZ1PUo7JvB8tWi8b8IDSp2uVyTno4m FVF9oK64ieyYXw/RjX5oGVC7xYbIAPvXpUb6sit8yD3vsynLGJKqZGRZ92nhBxUQ5B/3EI oA77cWJAB7YHORpAUHa7YiWR/35l2CxNmZZA/j8Wgj5jwNLV3mHndyjRv+AePA== 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 3D8CA9183F for ; Tue, 10 Dec 2024 17:50:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL3Qg-0000tU-4p; Tue, 10 Dec 2024 11:49:46 -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 1tL3Qe-0000rh-AZ for guix-devel@gnu.org; Tue, 10 Dec 2024 11:49:44 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tL3Qc-0003rG-NZ for guix-devel@gnu.org; Tue, 10 Dec 2024 11:49:44 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-435004228c0so18171975e9.0 for ; Tue, 10 Dec 2024 08:49:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733849381; x=1734454181; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=2YQ3EFhb4jxlhWH0yoIJ9syBkEVFs8Cw9R4fbLg93dU=; b=jl45lmeTyWVfgJjiXq2RmcFn7WtDgLceqS7cKvyxLQ4fNMAIFOrO3SiG0BlNu30UzV AM3W0HEA/LZtrs72zwjfbcm+eg6sEky4FYAJawb4zqY5jmjgAHWtLcWLiZAChmubsUrV me24MW4qC27DViez4NyPSAbwAhXEuYo74jtWpeYJ/s0GR+jUQnOA3uDBLi+v+/6cr5Wd NOWqQhJuM+hyZhuYaTv9Y57ryCN6NbAUOgRuXQUgsBhvBvELE3nAMNyf+PYFuholSDUk 8A0bNUKHYnBlUkNJqFJaJFORDcWDWlTR2jiZtxR8adls6IAz8eF5omR+o5NVpFfCzmmH Wbdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733849381; x=1734454181; h=content-transfer-encoding:mime-version: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=2YQ3EFhb4jxlhWH0yoIJ9syBkEVFs8Cw9R4fbLg93dU=; b=PzSoMbqMknfG2ai5IyEUlrHt1p1V/CZAoeVriKM8XIHY9dkrlXI5j02U+iKGI7ljBq p8uuIoLOPQUtHL+KlIEzvuQbeLKebNsb/kM8HDaeMFbRzsiIl8mRAMb6pc+7KT/GAE1n FLecJPRcsvxJnpaAlPhZLRfqIKX/QGOGR83UvaJAaNrInTtudogYTlNYYTyvu4oeHyig doAkBQS/dJam2m6aaJ73ImJOe7ze6Ex74W7zdcU0VL39TuDXN5jzIQC0xN2P00yLm8P9 E1rcgzZa6j4zmnbdeMwZLDH87A7dBTFdQT6/kJcxt/XCdETw5L89K42ZIpn0wC6YIu2U jnJg== X-Gm-Message-State: AOJu0YwZEt75E+xMU7RWNHOaKFLkrVgfEV5d3AgsA1acxlmxKktyzFC7 3ZEETPi6HLYV16D6B+QQS/OqYQAYGB01UBPoc18/4HLRI6XLTcHF3XuykQ== X-Gm-Gg: ASbGncu4miv/gBwM0GG+LWFLebvmTfby0xS2VhwMhzXrf4cXNz4/+XPFXGD/jKldYKO Bg8QNunEnqZFy4etsR4uK/A0Q68h4zJR2YA0lf6dwrmIBMz3hmn6Lie0WBmbeNvtTgIu5oYSvN0 oVYxhibNJpLZlZCBizAvUAikcIMTA6g8BkV2v0GPjJTI9XewcuWQw9qwZCZkA3q6ohKNGZzvd4B RUEDGOX76c8PpKHQWPSorIgxhXwBoNKirgonjsDSdfLninH5g== X-Google-Smtp-Source: AGHT+IHDS5mnO/Xs1dBV5KQzPWUqowVtY8lfgTh6zCQ/P7xhyfd4Q997lnhnYkrVC22CICRVo8WCKA== X-Received: by 2002:a05:6000:4105:b0:386:605:77e with SMTP id ffacd0b85a97d-386453fd3d4mr4910118f8f.49.1733849380973; Tue, 10 Dec 2024 08:49:40 -0800 (PST) Received: from lili ([148.60.59.223]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3862c611242sm13287442f8f.36.2024.12.10.08.49.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 08:49:40 -0800 (PST) From: Simon Tournier To: Ricardo Wurmus , Evan Cooney Cc: guix-devel@gnu.org Subject: Re: Including code in a non-Guile language into Guix In-Reply-To: <87zfmkl048.fsf@elephly.net> References: <87zfmkl048.fsf@elephly.net> Date: Tue, 10 Dec 2024 17:24:50 +0100 Message-ID: <87pllzy08d.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x336.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-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -5.20 X-Spam-Score: -5.20 X-Migadu-Queue-Id: 3D8CA9183F X-TUID: ppvviKdvtySG 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.). Cheers, simon