From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Shrinking the C core Date: Thu, 10 Aug 2023 10:28:28 +0800 Message-ID: <871qgbvdf7.fsf@yahoo.com> References: <20230809094655.793FC18A4654@snark.thyrsus.com> <87il9owg0f.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="13843"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: "Eric S. Raymond" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 10 04:29:47 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 1qTvQo-0003Me-Py for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Aug 2023 04:29:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTvPo-0006l8-Iw; Wed, 09 Aug 2023 22:28:44 -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 1qTvPm-0006ku-VZ for emacs-devel@gnu.org; Wed, 09 Aug 2023 22:28:42 -0400 Original-Received: from sonic316-21.consmr.mail.ne1.yahoo.com ([66.163.187.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTvPl-0003OV-Cw for emacs-devel@gnu.org; Wed, 09 Aug 2023 22:28:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691634518; bh=T1ZBZDIDPunSSi17nO0kVw3diSXwxcNizPyJOzE7I4c=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=mruM+0hIm5DUBWztFpAVfff7ItcwnNrM6iTc4+DX/Lnf1BA026liiRXeOOrhUWRBs/GBaOggOQ0s9BT8FmOjBEd/TcVFg1h7wTJ8k/1nEs+6LQAcwoIpCIkKoIj0Q/HDEdyCpT5k2/soIueOmoqsmOdaKHsR0rW4Z/z0QAIAK6iXk/RpABl7oZv62zXgMnAD/a5h53Gg68QirCh0daGFmKGo7/KLpH++05h1iJK/IODymHM28DpL8sW0R1bg5P1zp410u1A8b5AOaXjzbohoSO8wzgmVe5HQxAoI1eacbjjCXytyT8Ga1ZYvx2eD18pf7Yez3SnpsxPKV5tKa/PcdA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691634518; bh=cM2JW9mo5kLH9nfZ8HJ+HReKwBqd604LBNsyNmn9BD+=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=QCcnZaS0rODCy/5fnPW2gusJG95+g739gQZP9ylHUbiqgBy/dflYMpSiV1sxX6xth6RjLvp/pYHT3JYbeo/3Yh5ajbQUGnfON4eIlPrma6G97t2PszkCc2Nxbzcg4Hqj5FJd5ZcMYjhcKm/YDKKMA59XuZ05KLXwtR23DKHp1uQTP+S/zd9o6AIYezGzVihQePQJs8wVO6mktZQxzwcjRGv+hoqEYFmBCkD11dCLbaJRtQQJz9DEfdrrKhPqPfbhsHsqTXd2BhTPbNDLihWKF8rYTvm6zzmnFSoIjSucHk/1+RTxRdmES7RxxmpZO/6l/ha/QipcM67GMkl5kNiafA== X-YMail-OSG: uzdbPWoVM1n.FaRPay4Q5_WZWAjb1VXsYLN5OuBeewaQRelejclV0y3pmArYeix LpWyrih3BWjlJNcEPHhJtMJuy4gArAByrTo5L2X9ycJDxQekmU7UFHl13q239GKJNKD5KkDRdE4q hsHSTYeiKgh7IEH7YSeUl2GtuYOiFY.2Xr8BlgkSb3dsslQtebUYNYWbyZc_k9wb7cGeFc7kmZ2N ewjdmO3kPpDJiCtyGGvNZCXyCTaO6vUF_0yaE15E4sWfSfwAQo14XXvAGWaSALPa_7ALcCsU1Vv3 kVoG6V12k6gHD5IrvNabiW5ST4qBayjGlZy59atuFrktT6NskCRdrSbAfOC9o8R6kZ9PUT31s3_O k_HCnZY1Hwf1EQZJE0PirjuOrsOsKFXZnsAAAoOskW4QH3jxYcRGCFbJUd3122c4YsqpM8EiAXao N2iSERRY4wP5OXWKOPWKoY7dhqR5D6Xa.HAnftnHryleopDdX08QNm15AXM6Ab9jQhrkknQsp2X3 CbgTP8DJil.fLHRNO8q1ZHKVYE7KGcjDGZrTdAN57W0MZiLVKDj7cua4ovpe.YBnCTvWvRIG_HtV uMO18Gc.gs_xOWlF8XJz6Y7_xFq1KYWPLpVbIVltkxYJkxQQc0PWYKw9CpEh1LECYSC1A9.1vrxs zfGYxpcx5QAXg26Chl7bgP2p4GFoKwW7v8eMxYDmGg5hhpQpu.9SfqQvbcBhCWzaiaF31Be2JwfV x1RvgxG.H8nOroaNLkQf0aYVeS6hludsVdN3SuC.uJ6lEV5HtiXQYWApYnfh6cMnfZkqUwkElbwp tKObKNtTwx2z5HTil22wpeDEoSpNPE.RXFVnFOJ9wP X-Sonic-MF: X-Sonic-ID: c2bd1859-7b2c-4303-b213-1cc176971071 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Thu, 10 Aug 2023 02:28:38 +0000 Original-Received: by hermes--production-sg3-69654d8bd-lxqd4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d77e343cf68bbafe95ae48a96d763b81; Thu, 10 Aug 2023 02:28:32 +0000 (UTC) In-Reply-To: (Eric S. Raymond's message of "Wed, 9 Aug 2023 21:19:11 -0400") X-Mailer: WebService/1.1.21695 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.147; envelope-from=luangruo@yahoo.com; helo=sonic316-21.consmr.mail.ne1.yahoo.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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:308503 Archived-At: "Eric S. Raymond" writes: > Yes, in fact, I can. Because if by some miracle we were able to > instantly rewrite the entirety of Emacs in Python (which I'm not > advocating, I chose it because it's the slowest of the major modern > scripting languages) basic considerations of clocks per second would > predict it to run a *dead minimum* of two orders of magnitude faster > than the Emacs of, say, 1990. The important measure is how much slower it will be compared to the Emacs of today. The Emacs of yesteryear is not relevant at all: simply grab a copy of Emacs 23.1, and compare the speed of CC Mode font lock there (on period hardware) to the speed of CC Mode font lock on contemporary hardware today. > They were too obvious, describing problems that competent software > engineers know how to prevent or hedge against, and you addressed me > as though I were a n00b that just fell off a cabbage truck. My Projecting much? I raised those concerns because I have seen them and suffered their consequences. There is no place for hubris: analogous changes were also performed by equally skilled and experienced Emacs developers, only for issues to be uncovered years in the future. (For example, when a call to `with-temp-buffer' was introduced to loadup.) How many times must we suffer the consequences of indiscriminate refactoring before we will recognize the obvious conclusion that code which doesn't need to change, shouldn't? > earliest contributions to Emacs were done so long ago that they > predated the systematic Changelog convention; have you heard the > expression "teaching your grandmother to suck eggs"? My patience for > that sort of thing is limited. If that is the attitude by which you treat other Emacs developers, then from my POV this debate is over. We cannot work with you, when you dismiss real-world concerns that have been seen innumerable times in practice, based on a conceited view of your own skill. Which, BTW, has already broken the build once. And the jury is still out on whether your earlier change needs to be reverted, since Andrea has yet to ascertain if it will lead to negative consequences for native compilation.