From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: [feature/native-comp] breakage on build Date: Mon, 15 Feb 2021 19:17:33 +0000 Message-ID: <87r1lh6sz6.fsf@russet.org.uk> References: <87lfca7lsb.fsf@russet.org.uk> <87eehuomn2.fsf@russet.org.uk> <83lfc2px16.fsf@gnu.org> <87czxe45f8.fsf@russet.org.uk> <8335yap6p8.fsf@gnu.org> <87wnvm2nhb.fsf@russet.org.uk> <83wnvlod0k.fsf@gnu.org> <87wnvlmjxo.fsf@russet.org.uk> <83ft29nwc0.fsf@gnu.org> <87y2fzr8ve.fsf@russet.org.uk> <87ft26pxra.fsf@russet.org.uk> <877dnipqfh.fsf@russet.org.uk> <877dng988w.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14648"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , Stefan Monnier , "Andrea Corallo via Emacs development discussions." To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 15 20:25:21 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 1lBjUn-0003gu-Aw for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Feb 2021 20:25:21 +0100 Original-Received: from localhost ([::1]:54838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBjUm-0000jC-D2 for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Feb 2021 14:25:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBjO9-00057j-9r for emacs-devel@gnu.org; Mon, 15 Feb 2021 14:18:29 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:48848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBjO7-0002Q4-AS; Mon, 15 Feb 2021 14:18:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:References:Message-ID :Date:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pdRW6Yn5K86Rt2infu1iot20s+WikOz35TiSHHnt0yI=; b=CfdsFPfntBNRoJA6vVhXH1uBc OtvSRvZ+owNhbAaFPHM4czMjl86g8/7v0bJQ6z/wBbPkkHsA+t6ArUZIqu+XwcMsv9UcrJjh5NS9x v4a8aivME5jf2iLhxMnGn6TOfxoAte/v7DUvRKMtaVJaHBcox76D0H6bp/yCmqIJ6ZZyC1awalS3p UMzPr5dskyY9jtdhdh8rhodYBFmdDztha+LRU4copfEqCh0SbZffeXKXDm1AXjXo7+QH2UJqjZubx zHmroYJYFv8WSMginkYBv8pSVWHI8w7mgvExxFGqmCNZKqObOHSta0yVFR1om92FsKFq3fZOLwk3L /ozH9jPWw==; Original-Received: from cpc142648-benw12-2-0-cust627.16-2.cable.virginm.net ([82.10.74.116]:41546 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lBjNN-0000H7-9a; Mon, 15 Feb 2021 19:17:41 +0000 In-Reply-To: (Andrea Corallo's message of "Wed, 10 Feb 2021 14:23:30 +0000") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk Received-SPF: none client-ip=78.129.138.110; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.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, SPF_HELO_NONE=0.001, SPF_NONE=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:264862 Archived-At: Andrea Corallo writes: > Stefan Monnier writes: > >>> Compiling a trampoline is about 0.2s each (mostly GCC gas ld startup >>> time). Say we have ~1400 primitives this should translate into ~4.5 min >>> of build time for something that in the average case is largely unused. >> >> But do we really need 1400 different trampolines? >> >> Can't these all just be copies of a small number of "base" trampolines >> (presumably one needs a different trampoline for every number of >> arguments, but that's about it, right)? > > Yes I think they could, the perf penalty should be negligible compared > to the use of an advised primitive. > > The question is if is it so important to support this configuration (eln > but no libgccjit) that indeed is achievable only on Windows. It's a good question. I am siding toward the idea of having a windows distribution with the DLLs as now, and then another which is simply integrated into msys2 for all the bells and whistles. It would be perfectly tenable to have native-comp only available on the msys2 version. Whether this is a good compromise I do not know, since it's not clear how much difference native-comp will make in practice or on windows to the feeling of speed. Phil