From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Add a configure option for NATIVE_FULL_AOT? Date: Tue, 17 Aug 2021 15:07:51 +0200 Message-ID: References: <83bl5w70vw.fsf@gnu.org> <834kbo6xm5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23859"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Ulrich Mueller , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 17 15:09:08 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFyq4-0005yf-4i for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Aug 2021 15:09:08 +0200 Original-Received: from localhost ([::1]:41664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFyq1-0005IQ-Vd for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Aug 2021 09:09:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFyoy-00045i-BU for emacs-devel@gnu.org; Tue, 17 Aug 2021 09:08:00 -0400 Original-Received: from mail-oln040092064082.outbound.protection.outlook.com ([40.92.64.82]:57575 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFyou-00038G-0a; Tue, 17 Aug 2021 09:08:00 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BDHa1jtR2rgTLO21Yl7J9Om9Ef7tdT6G/lnfaq+ECHvD5rgdbjnEu32wmOmkmHZ2Q6Fj00EVAmhKi6C8gFyZrEfXBndlwk21mrmolnTDP++8Vsahb37pBRC1qKtM1rUVJB6/65m/DQPEeA38iahmGzByO7/MLlT//qYIDXg4oxDDtnOrzsPsjIhFJl9zmws3pAeVrG9dSnm2mjz8wTHB/SYBbZnIEOAx58sCMgY6PdfRMUbTdcKZibmZaTbI61/Qiz30sAay/z32ykgunZopYQzk5JBQ/1I3Qv5eicCjmV7f4v1s7/F0TwAlV7OLxQWBb+0ozDNS4DpexyP7ZD9wbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AssJ2/w+NUZpQxrDSDOpqtRim+OcAzcM6uESkKx/yWY=; b=FQQdCoSFPE2V7g1/zf9RtVt2bNw5GIqCbS1dNrJeRIdLjzYr63jIreoQ/6lN1lt/p0FD1aKj9B0ofF0smprQk3rn/eX7Ue2NmEXUpuFe6fepxUiNLOchn23icuNYFjO5HBkaKfneIclp9nYmVRaYPr4f4kJ6s51g6wylBmQiIqRiO876nAfaYTwVPNvOx3w4ZZg7rhw9imoAl2H67HT1r2dBr4yo/SjmNmAFn0cJL6ow3YuewOjedCxVP+L8jKUYuHfTjpIRq/1sCczhaBmrAcarJAIh50fXBazpDdzSUY1hhj03v0GobB5Uz9icC5Zi8QlLyotvsrgqFQaBI3cDKw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AssJ2/w+NUZpQxrDSDOpqtRim+OcAzcM6uESkKx/yWY=; b=d21Kz8uT1j02HwurZw0C2QD1VTP8RJUuZff6BPEl9k9YMO955T5zgtJDEgxvmqhkFUUoaCG7qqlloY2o4QGegFB4Fu/Vb3HUBOXbB27lWoX4I7q5+RYZ6Zapz3P6r5KpzGZKvAzExHiYVWHQBOs8H7VRdq6r2qFHK5Q+XANpOjjH4TguRlkpTpfIzEoqPs2sBm0wRNQVEaTLw44NcpXBOORjAtfP84ekERE+/wWYRzGROOq9to5cxH+CuGETxOQ8Qnpnd2fa4Ze9CaCCDelC/1bH2dkVw9KVKs9Ks08ZQmfeYpRgcHe7JWGKREz0Hxanr9iBo/PjSs2JrIeElzJ7Hw== Original-Received: from VE1EUR01FT031.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::4c) by VE1EUR01HT193.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::503) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.16; Tue, 17 Aug 2021 13:07:52 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:7e19::46) by VE1EUR01FT031.mail.protection.outlook.com (2a01:111:e400:7e19::225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.16 via Frontend Transport; Tue, 17 Aug 2021 13:07:52 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:C7A1540E13EC78C21785F3DF8D17EE83269FF74E5F4D6161DF7E45E47ED92F78; UpperCasedChecksum:6DD4617A4B3284EC9B66FCD49FB117B29E5C40ACBA3B61DB6AFCFDC1272D53D7; SizeAsReceived:7490; Count:46 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::6558:f201:6d1a:3f39]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::6558:f201:6d1a:3f39%2]) with mapi id 15.20.4415.024; Tue, 17 Aug 2021 13:07:52 +0000 In-Reply-To: <834kbo6xm5.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 17 Aug 2021 15:53:38 +0300") X-TMN: [r2siEyWAGPUOkdEGq/fqOSIMjBV3MrAt] X-ClientProxiedBy: AM6P193CA0093.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:88::34) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <875yw4fcd4.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM6P193CA0093.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:88::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.14 via Frontend Transport; Tue, 17 Aug 2021 13:07:51 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 1c6bc9db-6896-4294-156b-08d961800501 X-MS-TrafficTypeDiagnostic: VE1EUR01HT193: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Cu/Fa77XdoVycNtFsM5eXDP0WhPBU7/0+B2bldNZryE8nuCujl5bBwSYcRVHJYAwtXB20PVdwvar8Ds/Xu816ceeuhwMCQwvjm8BDjBD2oyWqKis49b/1vofrUOnLah/UjTwsEJo1nfE/UYqyOvI2ItZl0KTBUXD83WRcfZ7yVDF1i0OCk+kcK5SoytYWOWNHISX5m1wGMCfBLnqFmVwORADhRreTzFbvWL/fb5w+pMENnT4hPK0BuCPc9xUaNgsM8IGm2oTW2oBrlbA8+6R+5lvPYd67UUKksfJeJEsthppuLw2aQnRPogqexh/xmMSi6a0f4e3WZUahUSi0lcMTLRwwVPXdgFjPvOLXY24mRQho45GBX9yhw4Ht+bd7AieVV9i8RPduMAaHL0vCQj8O3jEeQx80qVuf5+X0Nw4kqXsT0O5XdFfJtVFpY7FFSnM X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jD9QcLMLf+C2VkI690L4uvrgnHlLJTL4TovAcDa1Cbgv35yypkRB8xObkRlcUHcVW/W5dMGx5/Y447MakCzF/s53ZN5+nlSA8MlbPP0XiymiBfhlO7eGeTIz3QCkxgi+XTz+hOXFLWnWIqpKdqniUw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c6bc9db-6896-4294-156b-08d961800501 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Aug 2021 13:07:52.1333 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT031.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT193 Received-SPF: pass client-ip=40.92.64.82; envelope-from=arthur.miller@live.com; helo=EUR01-DB5-obe.outbound.protection.outlook.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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:272492 Archived-At: Eli Zaretskii writes: >> From: Ulrich Mueller >> Cc: emacs-devel@gnu.org >> Date: Tue, 17 Aug 2021 13:56:28 +0200 >> >> > Why would you want to do that? It's in a sense against the original >> > intent: Lisp files should only be natively-compiled when they are >> > first needed, and stored under the user's home directory. Otherwise, >> > you will litter the system-wide directories with a lot of quite large >> > binary files, which doesn't seem to be a good idea. >> >> Storing them in users' home directories also means that every user has >> to recompile them, and they will be present multiple times on the >> system. > > No, only the users who need a file FOO.eln will compile it and have it > in their eln-cache. > >> > I'd be interested to hear your motivation for using this possibility. >> >> The motivation is to compile and install these files once system-wide, >> instead of duplicating them in all users' directories. Conceptually they >> aren't user specific but belong to the Emacs package. > > That's... not how this was intended to work. > > I wonder if anyone else has an opinion here. We can set optimization level in init file, or early init, and that will affect how lisp files are compiled, so for some advanced users precompiled binaries are of not so much use. For some less advanced users, maybe with slower computers, precompiled binaries could save some time and computer resource. I have personally no inclination for either yes or no, just wanted to add some arguments to the discussion.