From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.tangents Subject: Re: [External] : Re: Shrinking the C core Date: Wed, 13 Sep 2023 17:39:59 +0300 Message-ID: <83y1ham91c.fsf@gnu.org> References: <873503y66i.fsf@yahoo.com> <83il8fppck.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21878"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, esr@thyrsus.com, rms@gnu.org, drew.adams@oracle.com, acm@muc.de, luangruo@yahoo.com, emacs-tangents@gnu.org To: Arthur Miller Original-X-From: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Wed Sep 13 16:41:27 2023 Return-path: Envelope-to: get-emacs-tangents@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 1qgR3W-0005RB-NU for get-emacs-tangents@m.gmane-mx.org; Wed, 13 Sep 2023 16:41:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgR3M-0004dN-00; Wed, 13 Sep 2023 10:41: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 1qgR3G-0004aP-5P for emacs-tangents@gnu.org; Wed, 13 Sep 2023 10:41:11 -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 1qgR3D-0004sv-W9; Wed, 13 Sep 2023 10:41:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=B6hwLvQ6RDc0vMKM6M0PIWDJiiWsIZtJJleUF/CjfGY=; b=cixS+OD2tneR5rMV9y8k wVpcSdNLbAR2+QeZ67262+HhafWMm13/Cn+J/GLxMLdZ1JMERRemgEwNxzINk2d5MU8Q4rTy6J26I mZnUjchujlNpq8weDQWwmGDZ6tExYEafPiUvQsxiYwXnXgDOIbAVIlqp1efMUWD9Uqfa/6ouMZdHU JL7yvTarCS7/GBOTMPItrjWmIw/ucSNZyxzMiHl51cvv3a7yUv3Lo0pEGhh2ZwTZNhyAzzn8TcOse XVbGWQVYWBzMHHuzEWPbiha84dhKCHsh8NSr4OM2MFSor/irqyeqhBAinaEUxt0O11nnMLvi1SJJo yjhyah0nMfMMKA==; In-Reply-To: (message from Arthur Miller on Tue, 12 Sep 2023 21:58:43 +0200) X-BeenThere: emacs-tangents@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Emacs news and miscellaneous discussions outside the scope of other Emacs mailing lists List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Original-Sender: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.tangents:1079 Archived-At: > From: Arthur Miller > Cc: Gerd Möllmann , > esr@thyrsus.com, > rms@gnu.org, drew.adams@oracle.com, acm@muc.de, luangruo@yahoo.com, > emacs-tangents@gnu.org > Date: Tue, 12 Sep 2023 21:58:43 +0200 > > Eli Zaretskii writes: > > > [Redirected to emacs-tangents] > > > >> From: Gerd Möllmann > >> Cc: Richard Stallman , Drew Adams , > >> arthur.miller@live.com, acm@muc.de, luangruo@yahoo.com, > >> emacs-devel@gnu.org > >> Date: Tue, 12 Sep 2023 06:38:00 +0200 > >> > >> "Eric S. Raymond" writes: > >> > >> > But it could be done. There is a technical path forward to it. > >> > >> Which would have to cope with buffer-local bindings. > > > > Right. And the display code. And text en/decoding. And input queue. > > And faces. Etc. etc. -- these are all written in C, but are full of > > Lisp data structures and calls into Lisp, so separating them is > > anything but easy or even straightforward. > > > > People who have enough talents, knowledge, and energy to do this kind > > of job will be better off, and will serve the community better, if > > they design an Emacs differently, taking into consideration the main > > lessons we've learned. > > I don't know what you have learned, but I have learned that Guy Steel > was correct when he told the world back in 1998 already: don't really on > a few people for the development, instead make things extensible by > the users. In an applicaiton that is almost a life style for many users > and where most of users are developers as well it makes sense to use the > same implementation and extension language, because it removes a barrier > for design and experimentation. For web developers it might make sense > to write their tools in JS, for Lisp developers it make sense to use > Lisp for their tools. That would make for more sustainable development. > > > lessons we've learned. That "neo-Emacs" could have a mode whereby it > > worked in a way compatible with the current Emacs, so that people who > > must run the old applications could run them without changes. But it > > Such a "mode" would still require you to implement al that stuff you > have now, there is no way around, and I am quite sure you know it. > > Also; there is nothing that says that you can't have different > implementation under the hood. There is so much narrow-mindedness and > assumptions from you. Instead of assuming bunch of what I think or don't > think, as you always do, why don't you just ask me? I didn't answered > further in our private correspondence because of your constant assuming > what I think or don't think and so on. Ask me instead; if I haven't think > of something, or thought wrong, I'll be glad to learn about it. > > > should be based on different, more modern architectural decisions. > > Handling of buffer text, GC, the display engine, threads -- all these > > and more needs to be rethought and preferably replaced with more > > modern solutions, to avoid bumping into the same limitations right > > from the get-go. > > Yes, and what in your opinion *is* a suggestion to completely remove the > C code, which actually was a very relevant in a thread about shrinking > the C core? Also, to answer all those who can't put 1 + 1 togther by > themselves: I have suggested to remove completely C core in a thread > about shrinking the C core. I think a "maximal shrink" of C core is > quite on topic :-). > > About your "neo-design", just implementing the editor in a Lisp machine > instead of having a Lisp machine in the editor is itself already a > radical design change. Not to mention that the Lisp machine suggested > already has threading and some other tools that would make life much > easier so you could concentrate on actually improving the editor instead > of the Lisp machine. Look at other similar applications already doing it > in that "clumsy" CL; Lem already has several rendering backends. How > many do you have? > > Nobody says that you have to implement stuff under the hood the same > way; I have said we need C core and elisp semantics implemented in > CL. It is laborous but possible. Under the hood it could be implemented > with any changes needed, and in the future design could be exchanged for > something else, complemented etc. > > Anyway, your rhetorics give allusion that Emacs is dead, users should go > to greener pastures you who want something more modern dead suites their > needs. I don't know, but those are vibes I get from your arguments. > > Anyone can *already* use other "more modern applications". Reason users > don't use Hemlock or Climax or don't rush to Lem (perhaps they should) > is, as we have already discussed in private and Reddit, because they > can't run Emacs packages in them. People don't want Emacs-like editor, > they want GNU Emacs. Which is good, and which you are aware of from both > private discussion and Reddit. Sure, loosing *some* applications is OK, > there is a natural regression too, some things are not maintained or get > irrelevant for other reasons, but not all. I don't know how to respond to this tirade, nor even where did it came from and what did I do to deserve such rudeness. I expressed my opinions on what would be a worthwhile "rewrite" of Emacs. Feel free to disagree with what I said, but why do you have to mention my alleged "narrow-mindedness", or accuse me in making some assumptions about what you think, or claim that I think Emacs is dead? What I wrote was about Emacs and its future, not about you. And no, I don't think Emacs is dead, or I wouldn't be wasting my free time on this job. > Another thing is your way to talk to people and keep this community; I > was told I am a lazy idiot who came here to beg someone to write > something for me, and I am told to watch my mouth when I answered. Great > community you are maintaining, thank you for that. You are mistaken: I don't maintain this community. I can barely tell people to use kinder words, and even then they don't always listen.