Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124864 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 41CF41A00F6 for ; Sun, 11 Aug 2024 17:05:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1723396051; bh=pchHydo7vl+zFuvXYguPeOKEPzq0vZIbEczrndI/CsM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=TsWm8Z+HW/7EhPA2wo/pxL7vPbdC/vSDKew9UzSJQeiyf/5gRa94M8jDLIRrmGfeP BiJQGDoElqqSU7yiaFYyKQhwr3w+QZ9XoNscckUWz1/SK6oRM2V9fMNv6MF3xx6RdI esKvse6UJV7CwYM0LDtxPCd34NY4XmFnSfGbswruob6984iRKrMCgIxy9bsIamq87C jW29AoN1sv1dugZ5mU9Dj2NdXH1e06Ai6tJXKkfUa2/soGztY8wZtksmtfpFYbHXkE CYs7Rii5APpT+fToOtsGqerHqqsSLsNAVrnbmTkJA6hOtWO4A8dQaP+PPtE5FLi2zF XChM/Z5QgUFBw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AD6F5180079 for ; Sun, 11 Aug 2024 17:07:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 11 Aug 2024 17:07:26 +0000 (UTC) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-70d2b921cd1so3386053b3a.1 for ; Sun, 11 Aug 2024 10:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723395941; x=1724000741; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=R7Aj0ZGf1ZW964Jgdb4a9p2NWPl7YuQZ4NbOrHkTKlw=; b=K+4Tv75jMHRs9323kHX+LzMgTWLFig/NKB8r1VZ1qxP2QvNQ2dkGqZPf1/KgHfxNzm DEFTN1FSEMBJkZ2WG3Q9j5jpobipAfveORjoe/VhFSHqAOZboYylybcoSgsGEeXWSjiE U/6vspAVC2f5sW7ICGP9W2Cm9ke3ZAtAVTjXgb493lM5mI0X8UcGyVCJxSJ/mdFSebb0 oKmEkqEffP+VgLt9WlUuOrIs7V+dWdasy7jngehu6vDuEGY3fgW/uy5C5KDDlUlAlWHz cqNXdqjQjfBwSTdfpI3YZZRoF4uKICsFIKHFuSHUSbNtGPEQP/ptCXqpcjJrsQOnIaCy sozQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723395941; x=1724000741; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=R7Aj0ZGf1ZW964Jgdb4a9p2NWPl7YuQZ4NbOrHkTKlw=; b=NmJ9AuDQC4W/YEMAlhwbdX3Lz0jZq1ntF620RVxLtkg1l3t+gCMsQIHgKOXb3YZLCK +6H1/vmwbrlzJAC8GDiNpdWCQkbixJKl4gYZ9BTyfeIsUEBea9rX6HCKHpXPyV+VbrVJ oLwAIKdOqDcNyqxTgPiKpx4bPXJKywkfVIAMTNl4kfZPXRSHrQHRzhYRuCmQq5ot52jg qniVLgdzLAWXartG60I5Ruk7OJf03KcjIec8Dc76tDh1GyuEB1cI0y5cJtSDtCNS+EAz LZIfEC3KboC8j9oAIsOQSVXz+xTUrjmDasspWitd7NaLosIMjJhlsGKK2GQaw3qRYOaS dQVA== X-Forwarded-Encrypted: i=1; AJvYcCVUsQ+MN2eWA8fGAMivR7VursH4NamAYm9jwqQ0UejEKv0FYCSin73DzvHh25HBs1B9WOJzsjYOI8rVNJZFg38hDlzzre92BA== X-Gm-Message-State: AOJu0YxS5rZxih2iLWEw3h9U2pMMu9GJjOvi54ou9Wc3y4tb+Aa+EIUs Yg5hZOXIaGshrSpBGK+yN5B0jP7JiYO7ZVcbGxT1hXZtobpNVzsrKKugynS7q33uRc5exw8jQuC DW53SEXeTn/uDS2gYYNpe6Uh0v4g= X-Google-Smtp-Source: AGHT+IHCmWRVOILwd9bX76ASYL1ShuXJZxDbrWP+hrl5uLKSkEeM37DNnGYrJ7XEcCQnX+Icnqq6bTFPcTCuwH6ZQ+8= X-Received: by 2002:a05:6a21:3213:b0:1c6:a562:997f with SMTP id adf61e73a8af0-1c8a026c070mr9567323637.42.1723395940491; Sun, 11 Aug 2024 10:05:40 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 12 Aug 2024 00:05:28 +0700 Message-ID: Subject: Re: [PHP-DEV] PDO_Firebird: use C++? To: "Gina P. Banyard" Cc: "Christoph M. Becker" , PHP internals Content-Type: multipart/alternative; boundary="000000000000d72c86061f6b6220" From: pierre.php@gmail.com (Pierre Joye) --000000000000d72c86061f6b6220 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Aug 11, 2024, 8:32=E2=80=AFPM Gina P. Banyard w= rote: > On Sunday, 11 August 2024 at 15:26, Pierre Joye > wrote: > > > > On Sun, Aug 11, 2024, 6:53=E2=80=AFPM Gina P. Banyard = wrote: > >> On Saturday, 10 August 2024 at 15:13, Christoph M. Becker < >> cmbecker69@gmx.de> wrote: >> >> I think moving the PDO driver to use C++ is a more sensible choice. >> > > > what would be the advantages? given the OO part at the C level is > perfectly fine in C and the actual OO parts are really zend classes and c= o? > > > I didn't say to rewrite the whole extension. > Considering the library we are going to be depending on is in C++ it make= s > more sense to do what the ext/intl extension does, which is to use C++. > I do not want the project to have to deal with a broken C transpilation > error created by an external tool (namely CLOOP). > > If you have a better suggestion on how to deal with this issue, feel free > to do so. > ah you mean only for fb? makes sense yes. While I prefer to add a thin layer to expose it as c and keep the engine&co use in c, a tat bit easier with little impact :) --000000000000d72c86061f6b6220 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Aug 11, 2024, 8:32=E2=80=AFPM Gina P. Banyard = <internals@gpb.moe> wrote:
On Sunday, 11 August 2024 at 15:26, Pierre Joye <pierre.php@gmail.c= om> wrote:


On Sun, Aug 11, 2024, 6:53=E2=80=AFPM Gina= P. Banyard <internals@gpb.moe> wrote:
On Saturday, 10 August 2024 at 15:13, Christoph M. Becker <cmbecker69@gmx.de> wrote:

I think moving the PDO driver to use C++ is a more sensible choice.


what would be the advantages? given the OO part at the = C level is perfectly fine in C and the actual OO parts are really zend clas= ses and co?

I didn&#= 39;t say to rewrite the whole extension.
Considering the library we are going to be depending on = is in C++ it makes more sense to do what the ext/intl extension does, which= is to use C++.
I do n= ot want the project to have to deal with a broken C transpilation error cre= ated by an external tool (namely CLOOP).


=
ah you mean only for fb? makes sense yes. While I prefer = to add a thin layer to expose it as c and keep the engine&co use in c, = a tat bit easier with little impact=C2=A0 :)
<= /div> --000000000000d72c86061f6b6220--