[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Abysmal state of GTK build

From: Gerd Möllmann
Subject: Re: Abysmal state of GTK build
Date: Thu, 25 Aug 2022 08:25:20 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.12.0

> Meh. C-with-macros as used all over Emacs is complex as well, and also
> requires learning.


> Iʼm neither a C++ fanboy nor an expert in "modern"
> C++, but if it can be used to reduce complexity Iʼm all for it. GDB
> seems to have had some success with it.

I'm also far fromt a fanboy. I think I see this from a practical standpoint and I agree fully with GCC and GDB folks. To quote a slide
from Ian Lance Taylor (Write gcc in C++, 2008)

- C++ is a standardized, well known, popular language.
- C++ is nearly a superset of C90 used in gcc.
- The C subset of C++ is just as efficient as C.
- C++ supports cleaner code in several significant cases.
- C++ makes it easier to write cleaner interfaces by making it harder to break interface boundaries.
- C++ never requires uglier code.
- C++ is not a panacea but it is an improvement.

Take a look at xdisp.c, and imagine what that will look like in another 20 years if nothing happens.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]