From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.tangents Subject: Re: [External] : Re: Shrinking the C core Date: Tue, 12 Sep 2023 21:58:43 +0200 Message-ID: References: <873503y66i.fsf@yahoo.com> <83il8fppck.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10099"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Gerd =?iso-8859-1?Q?M=F6llmann?= , esr@thyrsus.com, rms@gnu.org, drew.adams@oracle.com, acm@muc.de, luangruo@yahoo.com, emacs-tangents@gnu.org To: Eli Zaretskii Original-X-From: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Tue Sep 12 21:59:12 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 1qg9XS-0002Lw-Pw for get-emacs-tangents@m.gmane-mx.org; Tue, 12 Sep 2023 21:59:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qg9XJ-00016n-Oh; Tue, 12 Sep 2023 15:59:02 -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 1qg9XB-00014A-Pv for emacs-tangents@gnu.org; Tue, 12 Sep 2023 15:58:55 -0400 Original-Received: from mail-he1eur04olkn2099.outbound.protection.outlook.com ([40.92.73.99] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qg9X8-00088G-5r; Tue, 12 Sep 2023 15:58:53 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kQxLqp4R4lENpUUA71C7doD9fhFZZS5DNCJrhYbsAhTS6abCDEDCmipJHUuDLtJtCi01XOuue6/SvjMBEnnt4ufep/U5BUmXuJvG9rlRyXmY7B2O/C/DcDRkRg1e/J/insgxidPNFEXCtiJnKBo2t/Sjr0WiTMtZYyr91fqkbM6XDrlEF5RBRU1pn/+ZeXDighEV6bnOmfg7VLEQyicswQ0dIopX0YsQVVo6M0ssZn6mWaJAsZaQE9ANirSwVPr0DmYi5BHoONNu3Dd/hKN7qKYmjOglZMkDDHaNfWkGHHehNp7jcJQjtIwD9mmVyAX0G1aS1fREIhZH9q8ag+6HOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yQqYtSwVUha/GcvUjIs7JbXIYBrx6c3EWstSW+6VcWA=; b=eadr8OdJjrClAYoXuX65FVsuYVp8J/13iF+j7ssswSpo9PAoaSamEM8ag4LpTU1oxw7IjsOJjXBvHLm+2iFcRSCipcb9EGWaFwfCmide7x2yi5WklgZET/9dEfkkoB0IjoV5R36jOKtAs5Q/hU/+KgA6fKlWMJdpaVX96HAnxQncylnJTeek15exjXQbj2xrsk68KYp4zQq4BZOMfo8HGlL9Fnviq9rmgltwSzCst9hocvRQdUo65j5mG+4dc0M9QHdGiODSGglwKo6q5prnR7JDn9sOtin94XIzZxoiW5NCy5Uw5cBZloXqSk9kzcol6ABbdTq8XQ/FQZ7fsLIOZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yQqYtSwVUha/GcvUjIs7JbXIYBrx6c3EWstSW+6VcWA=; b=E0cyKLbksErNZF7T4PfHg7RbDMkhUTRP1NJFdyvILfjrDmcsYSfWFV6BWSM1A7SP2zo/1aX+M6tLjmrnwLtxV9GbaKctkYQCWX/XE3RRdCCRUbL4YMMaTczlg0N4Sfxqupnilt349r1I2Yr7Di19hlBgEsZweaDFO+zatfwvgqG31aLSQGL0y88ddWvS3/cy17GMLejjub2O11pZBXwJFHuZy0J2bTf/8tuxuQkoZJ3vycItYDwtQE3T0VAMr5L1fjLDTYkLZxYv8hv+Wfm+z7VNBJaWZ3hoUJMqx93bOUgbYk9BDRTwthksqqOczN714whCafsxe/URbQlNs1Ne6Q== Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) by DBBPR09MB4794.eurprd09.prod.outlook.com (2603:10a6:10:20b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.35; Tue, 12 Sep 2023 19:58:46 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::df56:b1b1:64b1:6122]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::df56:b1b1:64b1:6122%7]) with mapi id 15.20.6792.019; Tue, 12 Sep 2023 19:58:46 +0000 In-Reply-To: <83il8fppck.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 12 Sep 2023 08:07:31 -0400") X-TMN: [IP5HMNQVg0GvXIST0WebewTayP4ikbOS] X-ClientProxiedBy: OS6P279CA0043.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:32::12) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <82il8frwng.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR09MB4977:EE_|DBBPR09MB4794:EE_ X-MS-Office365-Filtering-Correlation-Id: e5780e32-25f3-4ea3-9130-08dbb3caac01 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FStBh/RrsNDRx8g/K6TYPjkXqS/vrsVuqvznW23mRSB0pyWUcjg5tfHV4+im9p73H3G+QZS+X6wljQyXw4OmiLaeT54VPA6/RjA+l7tsZ55yb05WcTKFL8CL5nsPdDl3ZLz8JejGbtXJFkx6vqrctZnFYfxn8OL7fZaFlevW2afPU0V6Y7vNI4nQv3n6TwrrrSQezWdQNorWq3EwaMMfcJuHUClOFdd5k3MwkZ5oUSPb4fwWXZ/f2/Yj8hJppxEGZVPW85kyD4M4G7XeOlb7WPKb3Ooey8UdEiheTcUo1FglQX29E3WxtuUCa116xSD9skKEMNPp6obhAkzvo5DGhS4i95I6dQSMSC3LWh/ti8ooB4WkRKKRd28e5uz94f2HTGzaKbwoajOjuPfj0c4l58utroKg/QsM1PcOQiy5+n+6NyZ6fdu3UcP7Cg9ddO17JeNxbNH3rRY64xfHoB60YiPT5WxYdrf5E97aNGfa+ZKwBl4fjOv023y4NwKWqGOe+sdkQesLToq6wEh69/PqI40ORCn7lisqZg8S7XSPKcNincSBs151NPD5FW5qdP8B X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?MuQYnd6SAAoxJsz2HI3hHEb818l3K8p15BWj6F/CLUSGPcU5bZdKU3zWF6?= =?iso-8859-1?Q?ao+m9F+R6ymN6dph2kHwjFXMqGi5iWO/1Kqghd3OfhpV7fGw6QN6Noj9eo?= =?iso-8859-1?Q?mANKiycP7rrSh0/B9IS1FjXIhrkigqroiK+hiP7UTm5D3L2YFvsrLY3G91?= =?iso-8859-1?Q?bULB4Y6x/ahC9HADZXqwA1wjEBZy8eg5jmpBHLCSQGRF5RWAPntC5jUw/Y?= =?iso-8859-1?Q?OlXrse+DttbZpZeZt/oaW9K55myJoLLfZYU9AuX1yE+73rV5FMd/+JkHN9?= =?iso-8859-1?Q?iG9QWm+x6EHB1NRnyRjJ20gqMnHAArS5+kw710M/ROJArcbhKXJiwsXxXV?= =?iso-8859-1?Q?LWSYnqc7xA0/OIEfH0zuENsSbaU8xEuavEsC7Avrj81e84PnjHFYHt0/Mo?= =?iso-8859-1?Q?15lByrphaQZkKbEJmyXC6Fi1PHjGTwA4t0L03f2ZoWWwFvUaJFLZWBIsWE?= =?iso-8859-1?Q?Pkxoj7we0IWVvNr+fLWgEmUyoFgfpe7spYzfBwwOlwmRI35f7Pw+4sZUhJ?= =?iso-8859-1?Q?NxoHxq7Hp3Nxh2/mKh0dY1W55odip3SvsNrrazwhPg5hhbcaBuW6pGeVdw?= =?iso-8859-1?Q?3Ae0PL0KqvNWLOWy4W/0Ysj1dHLZHYqCXr4qe8wfJh7M/j9RgWZah/Sc5s?= =?iso-8859-1?Q? X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-64da6.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: e5780e32-25f3-4ea3-9130-08dbb3caac01 X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4977.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2023 19:58:45.9300 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR09MB4794 Received-SPF: pass client-ip=40.92.73.99; envelope-from=arthur.miller@live.com; helo=EUR04-HE1-obe.outbound.protection.outlook.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:1073 Archived-At: Eli Zaretskii writes: > [Redirected to emacs-tangents] > >> From: Gerd M=F6llmann >> 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 >>=20 >> "Eric S. Raymond" writes: >>=20 >> > But it could be done. There is a technical path forward to it. >>=20 >> 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. 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.