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.devel Subject: Re: Abysmal state of GTK build Date: Tue, 23 Aug 2022 14:29:25 +0300 Message-ID: <83wnaz8aga.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29338"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, ofv@wanadoo.es, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 23 13:31:49 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 1oQS8K-0007VH-Qt for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Aug 2022 13:31:48 +0200 Original-Received: from localhost ([::1]:46408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQS8J-0000i2-8O for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Aug 2022 07:31:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQS5y-0007mT-0T for emacs-devel@gnu.org; Tue, 23 Aug 2022 07:29:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37348) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQS5w-000155-U3; Tue, 23 Aug 2022 07:29:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=CyGA8T+AB1EVngOBRzvCenDLt4lIkhtq0Ni9LM8J+og=; b=Rc+UxJu+Doj4 ZBdSsSCXACI1CQCiDh0D1NewoThKPE3UM8BrITm6iw7qq+6RtIHmy1lZ/PO5EDWBZIr6oNAmRSkXD md40aiVk7MYsktvo8nXb55WatIzMAMTcsxiJP3NLO0uhTH4L3yYufZhusMVUwrOTd8woKo+HO++XZ EgWr3iM+u2oipfhnFR9HoeFMtozm/q7ORJjacHRNGfYbXLpmwbygUs4xmOhyhKNc8kyYLqyzZ2Bx5 90jaQ4bBbhU+qgVCRhFnVJnvNk6myrvgkuf6k1hJd0EQYugkJfHtbmlGLIzfPVGe3oL0cgyg/e8hY tM8vsgD0TY9IL0d7aaC14w==; Original-Received: from [87.69.77.57] (port=3875 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQS5v-0005wa-1z; Tue, 23 Aug 2022 07:29:19 -0400 In-Reply-To: (message from Richard Stallman on Mon, 22 Aug 2022 23:44:24 -0400) 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:293865 Archived-At: > From: Richard Stallman > Cc: ofv@wanadoo.es, emacs-devel@gnu.org > Date: Mon, 22 Aug 2022 23:44:24 -0400 > > > 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. I think you have in mind use of all the advanced features of C++, which makes debugging harder. But that is not the intent, and is not really needed for this purpose. > Using it in code that runs on the GNU system would make the problem > much more serious. No, no, no! Like I said, we already have that in two flagship projects: GCC and GDB. And they actually do use almost the full spectrum of C++ features, all over the place. By contrast, if we ever go this way (and due to the license issue it doesn't currently look like we will), the C++ code will be limited to the back-end parts of the display code, basically the equivalents/siblings of xterm.c and xfns.c. That is an entirely different scale.