From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 0E7FC3858D37 for ; Sat, 22 Jan 2022 15:40:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0E7FC3858D37 Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-269-CUNTqHNBNjWHhCZn-lsM5A-1; Sat, 22 Jan 2022 10:40:23 -0500 X-MC-Unique: CUNTqHNBNjWHhCZn-lsM5A-1 Received: by mail-qv1-f70.google.com with SMTP id f9-20020a0562141d2900b0041e38dbb599so12881186qvd.20 for ; Sat, 22 Jan 2022 07:40:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=LtoEerUQLzphuTZFE8aMHx0XfOWpgJNGZC1jdyFJVY0=; b=I0SKfqUhWT+Abgy9M4hVBI66hmmeyTNUqdx28LAxYgt/0bmKz8pPhaVO3WT4t3P+xL l69v7oU6hJbVepXbbfwg3x0hnXeMIru+QAAEFIoHFvoDKbkVotSlE9ZtreHfycDy0CR8 kCjQpOdQXAHi+TqzIgP0yovLfRGu+GVY4Sqs/72okMypIhp9IcP7UiO+vcZmUBCSQ4VP GuttyllQ+TE9+hdpJcPkgRayScI+T4lNcQGGWhIGL/NxdfSPjxv+TO0atom3yU9LudU+ HoAxiixIpV3cehdqX1YpcsrJ6OnbguZ3R4HqDiOGjPRRuH4sge3aGQ3SBkwGaS0RVG5Z wkiA== X-Gm-Message-State: AOAM533rAMv/7xSbJh/tPnUXxH/ze9vD4o1567TFNhhUMwLOap0Q9nlf NMnyCcSBrKAL/MN/pEg4pzE8UZx4AxiKGzrThmj03sifHUY9s8O5N262BJWqAKs6+NjvXK+5EqD eAdaBsUI= X-Received: by 2002:a05:622a:1b9f:: with SMTP id bp31mr7054429qtb.624.1642866023004; Sat, 22 Jan 2022 07:40:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzH3X8kC+Yva0Y5iruRyuiMiewGkC3hAMwq92YlzhwBgu14JxhgIsbESuLk6q7TJzEO+QeXfw== X-Received: by 2002:a05:622a:1b9f:: with SMTP id bp31mr7054419qtb.624.1642866022738; Sat, 22 Jan 2022 07:40:22 -0800 (PST) Received: from t14s.localdomain (c-73-69-212-193.hsd1.ma.comcast.net. [73.69.212.193]) by smtp.gmail.com with ESMTPSA id br11sm4642603qkb.118.2022.01.22.07.40.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jan 2022 07:40:22 -0800 (PST) Message-ID: <3783a5b520fe4dfdefb002638cc0ef0dd862a2a2.camel@redhat.com> Subject: Re: C++ API From: David Malcolm To: Marc =?ISO-8859-1?Q?Nieper-Wi=DFkirchen?= , Marc =?ISO-8859-1?Q?Nieper-Wi=DFkirchen?= via Jit Date: Sat, 22 Jan 2022 10:40:20 -0500 In-Reply-To: References: User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: jit@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Jit mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2022 15:40:29 -0000 On Sat, 2022-01-22 at 09:36 +0100, Marc Nieper-Wißkirchen via Jit wrote: > I just skimmed the documentation but it seems that the C++ API > exported by libgccjit++.h is not complete with respect to the later > additions to libgccjit. Is it planned to have it completed before GCC > 12 is released so that it is on par with the native C API? I created the C++ API for a specific project I was working on [1], but I haven't touched that project in years, and I'm not using the C++ API myself. I don't know of anyone else using the C++ API, and I'm not surprised if we've accidentally not kept it up to date with the new features. Is anyone out there using the C++ API? My recollection is that it saves a lot of typing compared to the plain C API - if you're already using C++ (which might be a step too far for many projects). If anyone would like to fix the gaps, that would be great. Dave [1] experimental port of GNU Octave's JIT compiler to libgccjit; https://savannah.gnu.org/patch/index.php?8395 )