From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Monaco Newsgroups: gmane.emacs.devel Subject: Re: Shrinking the C core Date: Mon, 28 Aug 2023 09:45:51 +0200 Message-ID: <87ttsjhaog.fsf@autistici.org> References: <877cpfybhf.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6478"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arthur.miller@live.com, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 28 09:47:17 2023 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 1qaWxw-0001S8-9q for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Aug 2023 09:47:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qaWwx-00054d-VW; Mon, 28 Aug 2023 03:46:16 -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 1qaWwu-00054T-TL for emacs-devel@gnu.org; Mon, 28 Aug 2023 03:46:12 -0400 Original-Received: from confino.investici.org ([2a11:7980:1::2:0]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaWwn-0005m9-JK for emacs-devel@gnu.org; Mon, 28 Aug 2023 03:46:10 -0400 Original-Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4RZ2fm2k5gz10yr; Mon, 28 Aug 2023 07:45:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1693208752; bh=x2Ho+nuKABG3pXb3uU3P5d/KLMlln0nxUVTUa68d6zM=; h=From:To:Cc:Subject:In-Reply-To:Date:From; b=LFBAjScatNgLmFBM+L7bT8pDxFhGvOi3Q3aQSypjvNYb3X2mx6xZT+33PeLcTnHk6 XJI7yzfSef2jqZNqA28zEGzKPzKfgS1M0k2BnjLajQ9A5kMcpDJc8fzIgThIYAnP+K bhkLzV7fdqKu3fy820T4omB+8WHgG8s7Yo13DezU= Original-Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: andrea.monaco@autistici.org) by localhost (Postfix) with ESMTPSA id 4RZ2fm1bQyz10wx; Mon, 28 Aug 2023 07:45:52 +0000 (UTC) In-Reply-To: <877cpfybhf.fsf@yahoo.com> (message from Po Lu on Mon, 28 Aug 2023 13:36:28 +0800) Received-SPF: pass client-ip=2a11:7980:1::2:0; envelope-from=andrea.monaco@autistici.org; helo=confino.investici.org 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309409 Archived-At: Turning a program into multi-threaded _may_ make it faster and more responsive, but that is not necessary nor sufficient. As an example on my laptop, Emacs (a big single-threaded program) is faster and more responsive than web browsers and mail clients (big multi-threaded programs). Sometimes emacs freezes briefly, but so do the other programs. Andrea Monaco