From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Merging native-comp and pgtk Date: Sat, 13 Feb 2021 23:30:43 +0200 Message-ID: References: <07D5E64D-DAD0-45B3-B272-627A73D7CBAE@gmail.com> <459A0475-E3E7-4159-82DF-93809CCF1E24@gmail.com> <87eehng52n.fsf@gnus.org> <87mtwbye5b.fsf@gmail.com> <87czx7ycva.fsf@tcd.ie> <87eehmyalr.fsf@gmail.com> <877dneoewi.fsf@tcd.ie> <875z2yy6z7.fsf@gmail.com> <878s7twq2t.fsf@gmail.com> <84adc238-c424-bb6b-da28-c4232172da5b@gmx.at> <87wnvcrze8.fsf@gnus.org> <87eehkfbab.fsf@gnu.org> <878s7sqiww.fsf@gnus.org> <87pn14ow7j.fsf@gnus.org> <863934ee-00c9-388a-9e29-1ca81edeb962@yandex.ru> <874kifptne.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38720"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: emacs-devel@gnu.org, Tassilo Horn To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 13 22:31:54 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 1lB2WA-0009z6-Jm for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Feb 2021 22:31:54 +0100 Original-Received: from localhost ([::1]:49664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lB2W9-0003Os-Mb for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Feb 2021 16:31:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lB2V7-0002hb-Uq for emacs-devel@gnu.org; Sat, 13 Feb 2021 16:30:50 -0500 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:46657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lB2V5-0000JL-OK; Sat, 13 Feb 2021 16:30:49 -0500 Original-Received: by mail-wr1-x42e.google.com with SMTP id t15so4078617wrx.13; Sat, 13 Feb 2021 13:30:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=BfxDVWBymsjZ3Sp3nnyR9HCQmF+RJunY134tOL+OYUQ=; b=Oircdi+gqsaxaWgAxD8DQm6807a1VKaR926IcuKPUczjk5Fqdjr/JwQDhKy8VOk1qZ FDU/+bS0J87OgLRJ/E0EZrhwBMcl3u1pOdHFKe0iFSDz69M1aZKpaysKEjb8d+lURbQ+ irnnWowSr+5manayTvKOUzm5j4XNEzRfGGV3UewlRVzZnuRM5HvtHr3hxD62Al4FcaTr 3Qj06x72uMx7zdKPh/B7OrBsTnv3MMWlkVSSp9UjVMH1DAZWXj3UnwKH/4NBAs3KvF9M e7CwRU+biXL6VcRFFOuQQEQUd2SxdpO4XWbZoqYvIl0lPB8xsRxZJdKfFf9nUacDvCYV PTFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BfxDVWBymsjZ3Sp3nnyR9HCQmF+RJunY134tOL+OYUQ=; b=YGZkpRkSx77VxgjEoB1t/TMXmTAdZbuAXTWsF56mmaLg0vXsuyBW2nLv+BQboyYamZ jmq7xu3y3FCNl3U0K7BqzQ3poy/YD6uuw8+d/xHgSju8jUA04iKttoD6blZtkAmjGJuP ObD8RTbhqgWOPO2WPwRJTHgPR3QmyVBj8g+2EWEhxKA7EGLS+4nYWNI58YKozp3XqoTF Vn+Cr3bf506maWvKy2OPkOwoscRCoJtp7eau1F07ox8dGdLPduz3WkqihNDlzXTtKzuz woJRXa6j3j/2vJoXw4Ovm0qUFHF8jJapxnTuTv6TWFrjCYOuRrJOXVUX7coHGc8hBIc0 4AxA== X-Gm-Message-State: AOAM530RIxKHx5QnbBUcjxaBRIgze33eQdLqsr3+xW61bEzoRiNFCTog ATKM0Ga0lLyYELtOIBqeu2D74qmuMxI= X-Google-Smtp-Source: ABdhPJxogQ3URh+pnrTQa0W1McjJJWzRMsgatowA5DgkFj5uM4eSSMqjQdgWjSSgRxzZMbVQ6YNflA== X-Received: by 2002:adf:f6d0:: with SMTP id y16mr10760529wrp.351.1613251845978; Sat, 13 Feb 2021 13:30:45 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id b11sm2034109wrw.68.2021.02.13.13.30.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Feb 2021 13:30:45 -0800 (PST) In-Reply-To: <874kifptne.fsf@gnus.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=raaahh@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:264660 Archived-At: On 13.02.2021 23:03, Lars Ingebrigtsen wrote: > Dmitry Gutov writes: > >> But the actual people who compile Emacs for distribution are the >> minority, aren't they? So it might make sense to just document the >> advice to do full AOT when compiling for distribution, but default to >> lazy compilation. > > Then developers would (commonly) be running a different thing than most > users... There is a certain subset of our users who routinely compile from master, but don't really contribute to the development. For instance, see the Homebrew stats here for 'emacs --HEAD': https://formulae.brew.sh/formula/emacs (I don't really have any numbers across platforms, this is just the first thing I managed to dig up). >>> But it would indeed make sense to be able to inhibit it if your build >>> machine isn't super-spiffy. >> >> Or, you know, if you update the code often enough and don't want to >> waste time on native-recompiling the world every time. > > Does AOT need really need to recompile everything every time temacs is > built, though (as somebody said)? Hmm, maybe I spoke too strongly. I haven't tried a full AOT build myself yet, actually (Stefan showed some numbers on that), but even the current "lazy" approach feels quite slow to me. So if you have ever been annoyed with the current recompilation speed after 'git pull' (even just of the files that do need to be recompiled), you can multiply that time by X.