From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Add a configure option for NATIVE_FULL_AOT? Date: Wed, 18 Aug 2021 20:17:17 +0300 Message-ID: <8335r64qqq.fsf@gnu.org> References: <87r1er3oqr.fsf@igel.home> <83lf4z6hh0.fsf@gnu.org> <83fsv75w43.fsf@gnu.org> <20210818073349.GC18126@tuxteam.de> <835yw354rb.fsf@gnu.org> <20210818133233.GA3470@tuxteam.de> <83pmua50jd.fsf@gnu.org> <20210818162216.GB9542@tuxteam.de> <20210818170020.GE9542@tuxteam.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5198"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 18 19:18:40 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 1mGPD6-00014R-Dq for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Aug 2021 19:18:40 +0200 Original-Received: from localhost ([::1]:36204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGPD4-0003zB-0x for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Aug 2021 13:18:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGPBm-0003Ir-3p for emacs-devel@gnu.org; Wed, 18 Aug 2021 13:17:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57916) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGPBl-0005vE-R5; Wed, 18 Aug 2021 13:17:17 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3752 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGPBl-0003rA-D3; Wed, 18 Aug 2021 13:17:17 -0400 In-Reply-To: <20210818170020.GE9542@tuxteam.de> (tomas@tuxteam.de) 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:272598 Archived-At: > Date: Wed, 18 Aug 2021 19:00:20 +0200 > From: tomas@tuxteam.de > Cc: Eli Zaretskii , emacs-devel@gnu.org > > Oh, so the .elc file is not searched directly. First, an .el file is > searched, and then, based on its path a corresponding .elc file is > found (or jit-made)? No. If there's no .eln for the file you load/require, Emacs will try to load the .elc, and if that fails, will load the .el. In any case, if there's no .eln, Emacs will start a native-compilation in the background, and will load the .eln file when it is ready, replacing the .el/.elc. All this is by default, of course; you can disable the JIT compilation, and you can disable loading the .eln file after the JIT compilation. And you can do other things ;-) > In that case, the "distribution model" would "Just Work"? Famous last words.