From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cNK6AslidmREgQEASxT56A (envelope-from ) for ; Tue, 30 May 2023 22:55:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EOi/AclidmTTZQAAG6o9tA (envelope-from ) for ; Tue, 30 May 2023 22:55:37 +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 AF5491AB36 for ; Tue, 30 May 2023 22:55:36 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q46NB-000467-0B; Tue, 30 May 2023 16:55:17 -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 1q46NA-00045c-7A for guix-devel@gnu.org; Tue, 30 May 2023 16:55:16 -0400 Received: from minsky.hcoop.net ([104.248.1.95]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q46N8-0008Ue-E7; Tue, 30 May 2023 16:55:15 -0400 Received: from cpe-76-182-57-106.nc.res.rr.com ([76.182.57.106] helo=mimolette.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q46N5-0004Wf-Vt; Tue, 30 May 2023 16:55:12 -0400 Date: Tue, 30 May 2023 16:55:11 -0400 (EDT) From: Jack Hill To: Simon Tournier cc: =?ISO-8859-15?Q?Ludovic_Court=E8s?= , Guix Devel , Andreas Enge Subject: Re: How many bytes do we add (closure of guix) when adding one new package? In-Reply-To: <87cz2it3yk.fsf@gmail.com> Message-ID: <17f2bb83-542d-2637-aa96-dd936a4e03d7@jackhill.us> References: <875y9jzl9m.fsf@gnu.org> <874jot19fd.fsf_-_@gnu.org> <87fs7rvv5s.fsf_-_@gnu.org> <878rddooy4.fsf@gnu.org> <87r0r4uv4x.fsf@gmail.com> <87ttvzhxm9.fsf@gnu.org> <87cz2it3yk.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323328-663061380-1685480112=:2885" Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.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_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685480136; a=rsa-sha256; cv=none; b=Mr8YojWfpdg1q4N04YaIVR/mP1ieSZPW6pj5WsEqxiOcKnsKu+aE7HAGrnvRwG8Hc3X4Cz Hbd8qJTgQeK68L4VBUa3wxgjNz/9Wrl9hScKU2VNifhw1EH13KY3vYejyJE484hweQnsGo 8ku+lnYRkrEe3ye8NdEEAWTyYB0ywB81plhhdjJ/MgpNELOiInGUNegGuow9wpBOvuUvve c+suRr19S9JZhcDV2GlAYx5Y2QpD7/55TMjkmCU9DzjQ550NDkv5O5SPr+gu6kHOC2AFbW RxN2w4S3Hrv/V0b5BhL8+Rksdp58RptcsRyAaOLfvYK+7atupCmqHmanJSGqbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685480136; 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=tl2NMj9KwcHdf9ugSAf5H3X78kpiWVtQbuwYeiwD9nE=; b=Q8LTWzgoPlB7eB77iMGfAWwFdHG2fs5fbTaXb2Ymoyz6UazoIqb8f3/tMvXNiEaq26aXOv rY/JUMtbE0jnWHpVD4xFyREGmNho0lm+xcySGL8RpDF44eYZ2e37JstS2uTOxgktTXmJjQ jdpFCED+LXQHRfF2kiixDCx+Y2PKHoqLry08xeUqf+8yxOaNpyFzl8ZvJfUvntj5ZAnwMh P2jCWoHLYxnQQrTnuYBXJ/WpagkoueTIiXpLQycgOo7Ga7FMY+Wbs21MrcQFI0Uus8WXnH NAtPpiaTg+Q318XrLh0pdTw7AcX0SPIk99NZcq1EoJYSYGuxk8474H/SpOM0gA== Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: 1.76 X-Spam-Score: 1.76 X-Migadu-Queue-Id: AF5491AB36 X-TUID: utEKTd9NUdfI This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-663061380-1685480112=:2885 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 30 May 2023, Simon Tournier wrote: > Just to put a figure on what means “big”: currently the .go files are 5 > times bigger than their associated .scm. > > Somehow, it’s the trap of DSL. :-) Packages are declarative and the > information they declare is not dense. However, because they are > bytecompiled to a general programming language, their specificity is not > exploited. In an ideal world, the compiled binary representation of the > packages should be smaller than their human-readable text-file > counterpart. > > The mentioned improvement is nice. And it’s visible: > > --8<---------------cut here---------------start------------->8--- > 145M /gnu/store/nqrb3g4l59wd74w8mr9v0b992bj2sd1w-guix-d62c9b267-modules/lib/guile/3.0/site-ccache/gnu > 117M /gnu/store/s6rqlhqr750k44ynkqqj5mwjj2cs2yln-guix-a09968565-modules/lib/guile/3.0/site-ccache/gnu > 127M /gnu/store/ndii4bpyzh2rc05ya61s89rig9hdrl4k-guix-a0178d34f-modules/lib/guile/3.0/site-ccache/gnu > 164M /gnu/store/ni63a203jf61dwxlv8kr9b8x3vb1pdsp-guix-8e2f32cee-modules/lib/guile/3.0/site-ccache/gnu > --8<---------------cut here---------------end--------------->8--- This is probably a tagent, sorry, but I was curious how well the .go files compressed. It seems quite well, actually: jackhill@mimolette ~/.config/guix/current/lib/guile/3.0/site-ccache/gnu [env]$ sudo compsize . Processed 595 files, 1659 regular extents (1659 refs), 0 inline. Type Perc Disk Usage Uncompressed Referenced TOTAL 21% 36M 173M 173M none 100% 16K 16K 16K zstd 21% 36M 173M 173M Best, Jack --8323328-663061380-1685480112=:2885--