From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Thanks to those implementing the new GC! Date: Fri, 10 May 2024 02:58:31 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27328"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Alan Mackenzie , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 10 08:59:23 2024 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 1s5KDx-0006qN-Ar for ged-emacs-devel@m.gmane-mx.org; Fri, 10 May 2024 08:59:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5KDZ-00037D-1l; Fri, 10 May 2024 02:58:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5KDV-00036f-4E for emacs-devel@gnu.org; Fri, 10 May 2024 02:58:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5KDT-00077D-CI; Fri, 10 May 2024 02:58:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=0Zy2d6FApTnncGjRa+RC0M+rlrPIugwmQ6Cof7q8/xc=; b=Z58JO+Fh1f5EZ1KZSkJf YeH8uAaqFSgOemZYlKx3hXH+m5aHZAqOlBE62nPUpzRDo5llHuUDECOMVbB7+KA2mxgMgpbE77SeQ bc2x91sTC1Tz1iE13iFq4rfJzVuQR4QPuGj1BlcLMljmNJoRfk+CqwKyRXbmt6p6hj1wbZpFsa3rx tvLTvEnLrQr5W9wn9VCrqemMBeEy4NydNcx/tpHCQjSeyMSi3qmLW9VKQAVIe03hnDPAQDxG2nu+W N5EIeQ5dCLkP8qnnkqOS9mVceVcfmzFzWXbvoLaToE+FUstXP8BZ3SjUfBjp5d+5ndN0biWmMbWWc WnH9goRTCThxuw==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1s5KD9-0007hl-9C; Fri, 10 May 2024 02:58:31 -0400 In-Reply-To: (Richard Stallman's message of "Wed, 08 May 2024 19:23:26 -0400") 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:319113 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > I very much look forward to the new GC, which will be incremental and > > take place on a different processor core from most of Emacs, given how > > most (?all) modern PCs have several cores. It will be good to use > > these. > > This leads me to wonder what the effect of the new GC will be on a > single-processor machine. Will Emacs run slower on those with > thw new GC? Hi Richard, I think we don't have ATM reliable performance figures for the new GC, but even if it proves to be less efficient (more CPU cycles to execute the same Lisp program), it might be still advantageous to have the GC run in a parallel thread to avoid GC pauses. Another point is that AFAIU we can't dump our classic GC anyway because it is necessary for certain platforms we do support but ATM are not supported by MPS. So I guess our current GC will stay in any case at least as a compile-time option. Best Regards Andrea