From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Abysmal state of GTK build Date: Mon, 22 Aug 2022 23:44:24 -0400 Message-ID: References: <87ilmlluxq.fsf.ref@yahoo.com> <87ilmlluxq.fsf@yahoo.com> <83h725deo3.fsf@gnu.org> <87bksdltah.fsf@yahoo.com> <87r119bni8.fsf@gmail.com> <87v8ql4kwk.fsf@melete.silentflame.com> <87tu65ilq2.fsf@telefonica.net> <87fshpgjsg.fsf@yahoo.com> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11754"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ofv@wanadoo.es, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 23 05:46:14 2022 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 1oQKrl-0002t0-VX for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Aug 2022 05:46:14 +0200 Original-Received: from localhost ([::1]:33548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQKrk-00019s-Pq for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Aug 2022 23:46:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQKq2-0007aO-BT for emacs-devel@gnu.org; Mon, 22 Aug 2022 23:44:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQKq1-0003BZ-3q; Mon, 22 Aug 2022 23:44:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=2nVfVTDRb0/QUpFUiU1Q1tfK5l1Wbpg+/Hv0dbekm1g=; b=bi45LXckI/at UPlO4d++5igMlzVQ7BFcI/ud3ewshEk2x/GcwjXgWw62Zcr11Atux91G+paqte2SQKauWKVQTgtn/ uzu4EmUIznmFGXXILRpbHnQz2U/W8P2FPMNWlHbSb06gLtn6wtu+Kw59NmpJLRmIEONbxV7JVDXoB teVIkaSycFkse/DgECs2aAW/2TRjC6QDkaRuqQFQKtpBd3nmTM4lfdpB9soEiX2d/7ioaDjAxnaNy O5StjtYeYoTppV4M+H4hL/bbsUIHmopx0aQduwP9ZRvdvMA132qQ+rBUUJPvAj6KFy4XSGggIMuKF UXCAh9+e/bJb7FQHVDhAOg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oQKq0-0007wC-Rr; Mon, 22 Aug 2022 23:44:24 -0400 In-Reply-To: <87fshpgjsg.fsf@yahoo.com> (message from Po Lu on Mon, 22 Aug 2022 09:15:59 +0800) 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" Xref: news.gmane.io gmane.emacs.devel:293833 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > What's wrong with C++ in GUI code? Requiring a C++ compiler to build Emacs is a big practical disadvantage. Including C++ code in Emacs will be an obstacle for people such as me to debug or write code. That is independent of what jobs the C++ code is used to do. Apparently, C++ has been used in support for the Haiku system. That's unfortunate, but at least it is only an issue for users concerned with the Haiku system. Most of us have no need to debug or read that code since we never run it. Using it in code that runs on the GNU system would make the problem much more serious. No, no, no! However, you also wrote this: > The GUI parts requiring C++ can be neatly separated from the rest of the > C code through such glue. That might affect the issue. Can you explain this more? You recommended we look at haiku_support.cc to see this technique. But that file is 4000 lines long. I can't look through so much hoping to recognize the part you refer to. Could you please describe concretely the technique you refer to, or show precisely what code in that file illustrates it? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)