From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gLyiILKsI2e+4QAA62LTzQ:P1 (envelope-from ) for ; Thu, 31 Oct 2024 16:13:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gLyiILKsI2e+4QAA62LTzQ (envelope-from ) for ; Thu, 31 Oct 2024 17:13:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=SiXVR9qj; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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=2; s=key1; d=yhetil.org; t=1730391218; a=rsa-sha256; cv=pass; b=hzuv7PmcW08BfEg8IKvVavOkSUh3nBB9yjEWHtC6yVXwh0eYrhCWxtYythnGUbn/110/Df iqiQ9YRzKlxqHBIw2aElE94X7RH5/kgbIvaS/QUGdF32t89vV2jLNyHp+PsxIw7D/9+re/ oe+VilPJ8mCI4YrbutfDBqMTjh+lLCnq7LjrGEApfUu6MxCH29mEdY6kMuTRiZybyAi7tL O2HlbIP5FjmSuvoUUha0lsM9Emc8XaG2qjEAaN6eTFwZbhpvB6Ug3fRDDOU4GtbGdeJPX3 7a+4jdO/WuEZxUGIMzbx6Mx4zyhTVumcizcQ87YSIayul1mx4uvJVKJ785V0cg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=SiXVR9qj; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730391218; 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=ljzTHrq4OVFT/XokryGesougDndk0CHzq0gmUzQhFIk=; b=c0AFOBZZ3OaFBeeWgkvtsnMimLEulQIkDa+6GwKdU6bryM7Y7vEOmb+dO3qyINUV/7rR5/ CKU5CVZwKud8J7VFE+b0YssAmiFbVcm1dYDPa63Az2Rscq38+XeRIgx0AdK50CcYAK57mM 3hFhUJ5HMmql/gYYzf1Lygcep78avvZEomtAtb7chr9Yp7bp7KN+rRXVgEbY1CwarHlRM7 1cgBKfRL8AmrOBe6f8u8AgvsM6iFg4IdYdHKmimrhpTjn05vwLEE6Fq0IciNpbfjL9sLav nbr1EULnDmAeGv1Yp+RzT3jbYz7ti2O7j0X5yoLHYigpSTOnMdkg5za8mylTOg== 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 EB3697E06E for ; Thu, 31 Oct 2024 17:13:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6Xne-0005sa-7X; Thu, 31 Oct 2024 12:13:30 -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 1t6Xnc-0005sD-O5 for guix-devel@gnu.org; Thu, 31 Oct 2024 12:13:28 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6Xna-0000MQ-IU for guix-devel@gnu.org; Thu, 31 Oct 2024 12:13:28 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1730391197; cv=none; d=zohomail.com; s=zohoarc; b=ln1WItLeEsJMb6UgEcRD4AeE+rWLaY1MzBP7MsPOSJXF7cGSub+0ZI3TOWFW79x+N+o1eXVLBYC1SdZ4UfXT15WV4ZKYtv9skAmoVtJbIW2JYMPij8HcCFkJigZzqd+jRBb6wKMHY9OEVd6qQbMu8cIOAWfJQZDYt3+b7xlsFns= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1730391197; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=ljzTHrq4OVFT/XokryGesougDndk0CHzq0gmUzQhFIk=; b=HoOvlR2yoKL+/6QNJV+qneN6FNzJjvjDBVJJma8cSplmW6bU9J6Ko31y/qyIn5PzkIXiGPZny9+OB9apv7gyNrm4cNJmoGjj6eAzjbA+dTBQKjZIN81E3pFVnOVIXS6eRffJPwm6S3rx85ySde6l5t8pqt1Hf03XVsqrASMF1zw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1730391197; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Cc:Cc:Subject:Subject:In-Reply-To:References:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=ljzTHrq4OVFT/XokryGesougDndk0CHzq0gmUzQhFIk=; b=SiXVR9qj9IX48m5qyuDXApT64FrVh90jJoO5uYwF5E3kcNWKxCgpQ8V9m3/2h9kp XVUP50kQhSmSUmFZQjgag96VSpT6wVogXjYS+HXG482YDh5CeMm4KWqW4eusVOl7Cu+ kzHQpeQi0JmLHBs+3SWm1600RF1IpucaG2qzHK8w= Received: by mx.zohomail.com with SMTPS id 1730391194514420.20172480036933; Thu, 31 Oct 2024 09:13:14 -0700 (PDT) From: Ricardo Wurmus To: Suhail Singh Cc: Daniel Littlewood , Evan Cooney , guix-devel Subject: Re: Including code in a non-Guile language into Guix In-Reply-To: <87ldy4e4ub.fsf@gmail.com> (Suhail Singh's message of "Thu, 31 Oct 2024 10:15:24 -0400") References: <87ldy4e4ub.fsf@gmail.com> Date: Thu, 31 Oct 2024 17:13:10 +0100 Message-ID: <874j4smesp.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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: -5.41 X-Spam-Score: -5.41 X-Migadu-Queue-Id: EB3697E06E X-Migadu-Scanner: mx10.migadu.com X-TUID: 30aZaHcSsVmT Suhail Singh writes: > Daniel Littlewood writes: > >> guix pull ("38k new commits"): 21m45s >> guix pull immediately after: 2m25s >> guix shell emacs (fresh): 1m49s >> ... >> >> nix-channel --update: 0m23s >> nix shell -p emacs (fresh): 0m24s > > Those are some interesting comparisons. Is the reason guix pull takes > so long as compared to updating nix-channel primarily due to the > authentication of commits? Or something else? It's "something else". This is a comparison between apples and giraffes. "guix pull" does a different job than "nix-channel"; the latter only needs to download a new version of inert data whereas the former computes a trampoline and then updates Guix itself. The fundamental difference is that Guix is a library, not merely "package metadata" that would be independent of the Guix executable. Comparing "guix shell" and "nix shell" is fair game, though, but I cannot reproduce the above numbers. Here's my crude test: time guix shell --no-substitutes emacs-minimal -- ls real 0m2.386s user 0m1.489s sys 0m0.141s This is without the "guix shell" cache, but with Emacs present in /gnu/store. -- Ricardo