From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2436 invoked by alias); 5 Apr 2012 03:31:05 -0000 Received: (qmail 2423 invoked by uid 22791); 5 Apr 2012 03:31:04 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Apr 2012 03:30:48 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q353Uloe027429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 4 Apr 2012 23:30:47 -0400 Received: from psique (ovpn-112-35.phx2.redhat.com [10.3.112.35]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q353Ue4p030508; Wed, 4 Apr 2012 23:30:43 -0400 From: Sergio Durigan Junior To: Mark Kettenis Cc: tromey@redhat.com, jan.kratochvil@redhat.com, gdb@sourceware.org Subject: Re: Will therefore GDB utilize C++ or not? References: <20120330161403.GA17891@host2.jankratochvil.net> <87aa2rjkb8.fsf@fleche.redhat.com> <201204042155.q34LtJNB013402@glazunov.sibelius.xs4all.nl> X-URL: http://www.redhat.com Date: Thu, 05 Apr 2012 03:31:00 -0000 In-Reply-To: <201204042155.q34LtJNB013402@glazunov.sibelius.xs4all.nl> (Mark Kettenis's message of "Wed, 4 Apr 2012 23:55:19 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00047.txt.bz2 On Wednesday, April 04 2012, Mark Kettenis wrote: >> From: Tom Tromey >> Date: Wed, 04 Apr 2012 14:47:39 -0600 >> >> >>>>> "Jan" == Jan Kratochvil writes: >> >> Jan> To C++ or not to C++? Unfortunately the discussion was here >> Jan> already before and I am aware several contributors are not welcome >> Jan> with it, I think it does not need to affect readability of C code >> Jan> much, there is not enough workforce to rewrite all the GDB code >> Jan> into C++ style anyway. Still C++ would help a lot, some kinds of >> Jan> bugs are not solvable without it. >> >> I'm strongly in favor of C++ for reasons I'll lay out below. > > And my position on this has not changed: I'm strongly against. C++ is > horrible language that should never have been invented. I believe I understand your "rationale", but I would like to know if the approval (by the majority) and eventual use of C++ in GDB (mentioning, again, that GDB will not be rewritten in C++) would make you stop contributing to the project. I am not a maintainer, and I understand that C++ is not the best language out there, but I've seen (more than once) other people saying that "if the project ABC adopts XYZ, then I'm out". I don't think this is the most reasonable thing to do, and I'm pretty sure this kind of behaviour slows down some kinds of progresses (such as this C++ thing), mostly because nobody wants to miss talented (and needed!) people contributing to the project, I think. That's why I'm asking you this question (but really, I would be asking to anyone objecting with arguments like "the language is horrible"). Thanks, -- Sergio