From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Enabling native compilation by default when libgccjit is present Date: Wed, 08 Dec 2021 09:08:18 -0800 Message-ID: References: <87czmdqpv9.fsf@web.de> <83h7bo7rvz.fsf@gnu.org> <87bl1tjage.fsf@web.de> <83fsr4zfl2.fsf@gnu.org> <87y24vvnnk.fsf@web.de> <875yrzg6o4.fsf@yahoo.com> <87czm7wysa.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14328"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 08 18:16:39 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 1mv0YZ-0003Z2-39 for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Dec 2021 18:16:39 +0100 Original-Received: from localhost ([::1]:46524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mv0YY-0005ZW-3M for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Dec 2021 12:16:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mv0Qb-0003Yc-K1 for emacs-devel@gnu.org; Wed, 08 Dec 2021 12:08:25 -0500 Original-Received: from [2607:f8b0:4864:20::62e] (port=39633 helo=mail-pl1-x62e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mv0QZ-00057E-OJ for emacs-devel@gnu.org; Wed, 08 Dec 2021 12:08:25 -0500 Original-Received: by mail-pl1-x62e.google.com with SMTP id z6so1939661plk.6 for ; Wed, 08 Dec 2021 09:08:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ZyXcPW95QWRoaesO3nUOjkoLMWm0Si+wN/9UdmFe/es=; b=APshNC1BjNH97HsIaJmWvesoOxakPenJmA6DizGK8/pbnixI7Zy/zQ87yl4PFxfoqk Qj7CNfnVCgVE9enJxQR8Lg7LEemqP9j9OGWtz0rX2DY9WUffMU/KJpGpAkeD0EJemKZY tPT91Cpe00qIVP1ysaBPMferKbSl95bDBqrBuxZnF0LUFyNs9z8JqaAkZGuq5REkQVru Pi34ay2I41ZZOz1M3RbT+VL9N56T/UEB386rgOOJjZdU3Mh31MaD/WMj5nUDAZmhW4Bu cCoqj6hUiwUeIgyoPUDTiMuAnHAEXgjlAiNHyfuFpkkwdv7C93wYKL6uNOdMrn6i3CZ+ gIog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ZyXcPW95QWRoaesO3nUOjkoLMWm0Si+wN/9UdmFe/es=; b=4Xj6mxebiVQQsqWzUoDuVg/jFqELZ45wucf3ZN2ajcRrHn5MIaxjtpCWVi2bzUh+2Z rZbWSzOHxEqg4+8pHvddlCeP/lDQJV0bH2yZkyH9PkoeJLgWldjVqqb39vOGOxQDmV9f duap1fF69m9NvSr1Y1UdiGrEQ0r1ufebwIKmzSsJiWKuCJBcFZ6zNgM5PK2mxrcz+36S tLeTsjmhpiNuFuAeOMnQXu6GNnsa0huW/nuDQ1aFZDwY9ZX65EovFK8e1xVZbpe5mwtR Ie6NwQsMIPMr+oatRS6fUnqExbL5RzqvT/oCUJiyKZPZi0zbHAlRLkftPZXUqw9ZVHT/ wuLg== X-Gm-Message-State: AOAM532GcttzxkrXdKPNDsbNSyPfNbWciAL/5XvoqOAAr4NdKeponXNT ukSSVqTLSURk/uhEA+MteRaE13kddvF0gg== X-Google-Smtp-Source: ABdhPJyz76iJ8YEil5cE85duISeW7D2OK63crmnzZ6Q4DzjDbcq29alDlCl6Zwu245RcJAvOFToGYw== X-Received: by 2002:a17:90a:ab17:: with SMTP id m23mr8584590pjq.194.1638983300797; Wed, 08 Dec 2021 09:08:20 -0800 (PST) Original-Received: from raman-glaptop (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id na13sm3800130pjb.11.2021.12.08.09.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Dec 2021 09:08:20 -0800 (PST) In-Reply-To: <87czm7wysa.fsf@web.de> (Michael Heerdegen's message of "Wed, 08 Dec 2021 04:39:17 +0100") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=raman@google.com; helo=mail-pl1-x62e.google.com X-Spam_score_int: -167 X-Spam_score: -16.8 X-Spam_bar: ---------------- X-Spam_report: (-16.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:281371 Archived-At: Michael Heerdegen writes: Note also that there isn't a 1:1 correspondence between bytecomp warnings, ie when going from el->elc vs native comp ie when going from el->eln. To ensure equivalence I believe we need to go from elc->eln. The emacs dev contract (implicit) has always been el->elc and developers should feel responsible for fixing el->elc warnings. But given the large number of already launched packages, changing that contract now to say developers should fix el->eln warnings is unlikely to succeed in the large. > Po Lu writes: > >> But how are those warnings different from what the user will get if he >> runs `package-install' on a package that causes warnings from the >> byte-compiler? > > Depends on when these warnings appear. When they appear as normal side > effect when installing something, they are not different. When they > appear out of nothing, delayed, from a background process, they are > different because the user not necessarily knows that they are related > to the installation. > > Most packages installed here were installed before turning native comp > on. Maybe the experience is different when installing stuff after > switching, I haven't checked. But lots of regular > (non-Emacs-developer) users will undergo the same switch some time in > the future, with already installed packages.=20 > > Michael. > > --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8