From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126490 invoked by alias); 17 Jul 2018 23:52:14 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 126475 invoked by uid 89); 17 Jul 2018 23:52:13 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,KAM_SHORT,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=pleasure, dave, disclosure, Guido X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Jul 2018 23:52:12 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4CC3530820CB; Tue, 17 Jul 2018 23:52:10 +0000 (UTC) Received: from ovpn-116-182.phx2.redhat.com (ovpn-116-182.phx2.redhat.com [10.3.116.182]) by smtp.corp.redhat.com (Postfix) with ESMTP id B30CB60C80; Tue, 17 Jul 2018 23:52:09 +0000 (UTC) Message-ID: <1531871528.18413.52.camel@redhat.com> Subject: Re: [RFC] Adding Python as a possible language and it's usage From: David Malcolm To: Basile Starynkevitch , gcc@gcc.gnu.org Date: Tue, 17 Jul 2018 23:52:00 -0000 In-Reply-To: References: <1531832440.64499.ezmlm@gcc.gnu.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00243.txt.bz2 On Tue, 2018-07-17 at 19:13 +0200, Basile Starynkevitch wrote: > Hello All, > > > In https://gcc.gnu.org/ml/gcc/2018-07/msg00233.html Martin Liška > wrote: > > > I've recently touched AWK option generate machinery and it's quite > > unpleasant > > to make any adjustments. My question is simple: can we starting > > using a scripting > > language like Python and replace usage of the AWK scripts? It's > > probably question > > for Steering committee, but I would like to see feedback from > > community. > > I would suggest also (and perhaps instead) considering using GNU > Guile > https://www.gnu.org/software/guile/ > > (personally, I prefer Guile to Python, but that is just my > preference) > > Since Guile is the preferred GNU scripting language (for example > Guile > is a GNU project, but AFAIK Python is not). > > BTW, I dislike Python syntax (my personal taste is an allergy to > significant spaces, but I admit it is just a matter of taste and I > could > contribute some Python code in the future if it becomes needed). > Also, I > am noticing that these days the Python project might have some > governance issues (see e.g. https://lwn.net/Articles/759654/ in case > you > did not heard about it). [disclosure: I'm a CPython core developer, albeit a rather dormant one] "Governance issues" seems a little strong to me: yes, Guido is stepping down as BDFL, but will still participate, and CPython is one of the best-run FLOSS projects I've had the pleasure of participating in. I'm sure that the project will continue to be well-run. > However, the idea of depending more deeply on a good scripting > language > in GCC is very pleasant. Indeed. I'm a fan of Python in this regard, as you might have guessed :) Dave