From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Shrinking the C core Date: Wed, 9 Aug 2023 11:51:44 -0400 Organization: Eric Conspiracy Secret Labs Message-ID: References: <20230809094655.793FC18A4654@snark.thyrsus.com> <87il9owg0f.fsf@yahoo.com> Reply-To: esr@thyrsus.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15030"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 09 17:52:39 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 1qTlUF-0003dM-Cm for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Aug 2023 17:52:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTlTR-0005V1-Du; Wed, 09 Aug 2023 11:51:49 -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 1qTlTQ-0005PG-5R for emacs-devel@gnu.org; Wed, 09 Aug 2023 11:51:48 -0400 Original-Received: from thyrsus.com ([71.162.243.5] helo=snark.thyrsus.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTlTO-0007AB-9v for emacs-devel@gnu.org; Wed, 09 Aug 2023 11:51:47 -0400 Original-Received: by snark.thyrsus.com (Postfix, from userid 1000) id B0D3818A2124; Wed, 9 Aug 2023 11:51:44 -0400 (EDT) Content-Disposition: inline In-Reply-To: <87il9owg0f.fsf@yahoo.com> X-Eric-Conspiracy: There is no conspiracy Received-SPF: pass client-ip=71.162.243.5; envelope-from=esr@thyrsus.com; helo=snark.thyrsus.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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:308482 Archived-At: Po Lu : > There is a plenitude of such reasons. Whenever some code is moved to > Lisp, its structure and history is lost. Often, comments within the > extracted C code remain, but the code itself is left ajar. Bootstrap > problems are frequently introduced, as well as latent bugs. And Emacs > becomes ever so much slower. When I first worked on Emacs code in the 1980s Lisp was already fast enough, and machine speeds have gone up by something like 10^3 since. I plain don't believe the "slower" part can be an issue on modern hardware, not even on tiny SBCs. > Finally, this specific case is because we don't want to provide Lisp > with an easy means to bypass file name handlers. All primitives > operating on file names should thus consult file name handlers, enabling > packages like TRAMP to continue operating correctly. If calling the file-name handlers through Lisp is a crash landing, you were already out of luck. Go have a look at delete-directory. > Probably. I think a better idea for a first project is this item in > etc/TODO: This would ... not be my first project. :-) -- Eric S. Raymond