From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KHZwLRgqNmJ8DQAAgWs5BA (envelope-from ) for ; Sat, 19 Mar 2022 20:08:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sDQoKhgqNmIdRgEAauVa8A (envelope-from ) for ; Sat, 19 Mar 2022 20:08:08 +0100 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 44C97880F for ; Sat, 19 Mar 2022 20:08:08 +0100 (CET) Received: from localhost ([::1]:60502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVeQo-0008GM-V7 for larch@yhetil.org; Sat, 19 Mar 2022 15:08:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVeQk-0008G7-NY for guix-patches@gnu.org; Sat, 19 Mar 2022 15:08:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVeQk-0001lW-F5 for guix-patches@gnu.org; Sat, 19 Mar 2022 15:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nVeQk-0001Jl-4S for guix-patches@gnu.org; Sat, 19 Mar 2022 15:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v2 05/18] gnu: Add clojure-core-memoize. Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Mar 2022 19:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 53765@debbugs.gnu.org Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.16477168695047 (code B ref 53765); Sat, 19 Mar 2022 19:08:02 +0000 Received: (at 53765) by debbugs.gnu.org; 19 Mar 2022 19:07:49 +0000 Received: from localhost ([127.0.0.1]:60579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVeQX-0001JJ-Hc for submit@debbugs.gnu.org; Sat, 19 Mar 2022 15:07:49 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:57900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVeQU-0001J3-Ew for 53765@debbugs.gnu.org; Sat, 19 Mar 2022 15:07:48 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [80.241.60.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4KLVkg6Pf7z9sSC; Sat, 19 Mar 2022 20:07:39 +0100 (CET) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1647716857; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=42kjdlhmqtayMi+2L4onjvSJysyxklM7yW/ATZhvinU=; b=adK2Dj/pGcrOIiKk9hvHP57kh9Y6YenodYJTefJLpnO3luU98hnzJbI07T5FqXmhk9WBp0 c81KAgJBa1uDJtCKH56uZAWXqBibb3godKwGGo0klXekuT9xIZlQdGSy++TMRjJGXziFNF fdzlCzb4neUf95XC3/SRTTsyWzP35YimJ1nr0zydjn7erVpADgekeE2LKvQmI/1DLL9Z0c JRewhTdnS1/dTRwm4XJgwTFZ/UXtb93NNkPd6/Iayavybb+NyBsK2nNChBZzlPbLcJlnQ3 in7kRulQi6DkM6xDewSM5V29hiZCRtwh+JqNcjoXwww5GepBXuZiUOmb7UknsA== In-Reply-To: References: <877d8udq44.fsf@reilysiegel.com> <87ilsbd476.fsf@reilysiegel.com> Date: Sat, 19 Mar 2022 20:07:27 +0100 Message-ID: <87czihdamo.fsf@reilysiegel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647716888; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=42kjdlhmqtayMi+2L4onjvSJysyxklM7yW/ATZhvinU=; b=YqVzA8P9QBZKb3R4KsgP61DmEKENpnFC8tNjXtxV5nbwF4gvmKk6uKExzWgkGhWG8tIn+C nmbOWVVakzEFFyk9JemBf4l1k+yR4ROwCf2ADsGf5lzfhVPtqcAEusJqTZb4QTsxDKd0xL m+G+8a2QO4tHjSPoKaQZ2/EUKKfCviG7HojRAfti6pWQShuG4isp83PfoCZovFY/phsGbW ggW0AZiZDg84E8WDw7DSSZyX2M2m+Eo7ih8Xu6Wz0tSXOcEFb7VYp8KFhWFJK2s8zpyF+4 s00ZxWHjNEa61mKF5x0lOFzXRyynYiWjCD6+YawyF450FPu1wivK7C4ZUyynyg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647716888; a=rsa-sha256; cv=none; b=mlJiD/owdjxxtzfDLCte4Xb7y9lcs9tlmKze5U367KKru2l7Y0pcglBYnFfCBst0qMA/kP vBSto/T3OWi1tOQWIe5jgNQ82RNrplLQ5b4HzLVbdL6MoTqcEuhZynijtR03WPEyCdPyJd 77iAzUGG9lpXYsj/WiCa3s2LiAIxMpJAzl4QFb/URTyqtV+EkIoPN5cEfJZWMPPdvoCG4W p37SHB8yNmfypd/AS/FKo0aGfCWVpLNDy3wGFP+zWjFUuW3n9mvRLCLt476Mglf1/1Owyq TW79KLjhjRJCpOiTHW08PVMqndt5g31LV6cjP8NRyCtu9staDpDhFYr+SJxBUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b="adK2Dj/p"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.76 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b="adK2Dj/p"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 44C97880F X-Spam-Score: 0.76 X-Migadu-Scanner: scn1.migadu.com X-TUID: LRX31Q/zdQ37 Maxime Devos writes: > Also, if a Clojure library misbehaves when being AOT-compiled, without > additional context, that seems like a bug in the Clojure library to me > (or the AOT-compilation code). When I first started running into these issues, I reached out to Clojure maintainers on the Clojurians Slack, and the response was that AOT compilation is only meant for complete applications to reduce startup latency, not individual libraries. Here are some of the specific responses I got. Alex Miller: > Well, guix=E2=80=99s system is wrong to [AOT library code]. Lots of Cloju= re > libs have clj files that are not part of the lib. Sean Corfield: > Packaging a library as AOT'd code is likely to cause horrible problems > for consumers of that library. You're aware that lots of Clojure > libraries are packaged as JAR files with no compilation of source > code? "Packaging" Clojure libraries seems kinda wrong on several > levels. The normal way to get Clojure libraries is as dependencies in > a project -- fetched by the Clojure tooling itself, when it is run. --=20 Reily Siegel