Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124900 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 6C26B1A00B7 for ; Mon, 12 Aug 2024 17:49:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1723485050; bh=pXEKki2gf0bq+aZ/b8LuHcZkwUh/HKucz4Y5fLMcLuY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=V61r9w/+UbVxSVLQEHxr+LRR4VBzbLYiEBWnp68G9tTqWp47+qnlqoJ0KOp23l5zn fsEaE7yPb5AHFgqVO/uM6XRZVshVt+8N5e4ZzNJhA3ODt7ClS39QoVrVuk+6y7+R3H mjlYJUEVQb9lLYkdEJT7Abw8sfj0/0USVYYBW/qi08+eZSruiQhvDdP5K+R9zNpOLO UwGDv9gDyVjm8FY4lhW9HfQcm7Fz8qy2Ibj1KrtIwfAHNlYY/Q7Kz3BwRcBTeMtAWE Bt4AoRcERoKq1kJ8Yb7vSIBqMT03f58YtNz8rMwxaZrA3kKA0M11Hj97NjJZeSv0hI Ttki6coeybFAA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 943DA1801E9 for ; Mon, 12 Aug 2024 17:50:49 +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_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-ua1-f43.google.com (mail-ua1-f43.google.com [209.85.222.43]) (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 ; Mon, 12 Aug 2024 17:50:49 +0000 (UTC) Received: by mail-ua1-f43.google.com with SMTP id a1e0cc1a2514c-82175064454so1508925241.2 for ; Mon, 12 Aug 2024 10:49:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723484943; x=1724089743; 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=pXEKki2gf0bq+aZ/b8LuHcZkwUh/HKucz4Y5fLMcLuY=; b=SNCOXCxGmccYGiKWQBLB2kV5Hd4aXQEadBO8b1askl7VWBJ730K6BWzO1EbKXrrOxM b6ZX4JIFsC8LlFD/pRQnQ50m97l5N1oyhTXG8qGvqyJhiqWf2W09VPH47aEslyr6jyBd O557HPnfc75mHg8YrWPuNaJo9yHcC5jXsxxWGAe+1o1sAk2YDXR342KnnwKXwELaSG00 5uWOlhOrV3QEocdQgC3Pk+7rJizDcv8satsMT+ITm35mMzS6zUXMtKsjZ+2fdHSMAaRZ 25462kLvc2ded+ZHRwuiOvP5UCR5kFu0Paq+94ngX0YdD7/VkHaalK0asd9lxC/4h9rN h8ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723484943; x=1724089743; 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=pXEKki2gf0bq+aZ/b8LuHcZkwUh/HKucz4Y5fLMcLuY=; b=S0vVJAwzTiykCL4b6+wj6Z35W70jGLtAWxHMEqI1aJaoVAVlLS/M5PJTSjLTMOiBvf K+tu71AazukNehTs2wvKjamC58OpS9yPbIdjpMI03/naDbT/Q2SowA8o0IUZ3NoJPY4O yPrH2C9PUPXQKg7SWG2la8IF5PZ+nEO7HvH23+7yoJOx2amaOFjW6uWNbYBBtyvEZ7QF lfaNs8UFTJiisbgXJUUGeZ+ub3XkhBAfVPTZrAVeap8YuJ59tc4/kq6Hjmt1eBZTuzEJ BmIPtUBKVpKTCx+RntAkxyzITEQF6+8V/AQ5iHubtw3Uk/HiEFRZ2tP0JWpXlEZIwokY Jl+A== X-Forwarded-Encrypted: i=1; AJvYcCV+aFQZ7esVFwodU6frq5bPsG+uSWU18GVTRTFAIXwFZXiXFs+KbBbr/EOQBpHBbMeLrS0zooZ93ZNPYWzJQokrZ/SMCF0PRQ== X-Gm-Message-State: AOJu0YxNGfibnh7hjvB3rjbwSm2xroBcOii3b6v3WtOjdzzMvQQ4USiq APM4SLxpQqPfNG4KRiBk9fJOLix1P/FSVaR/KeuBk8P6PHWOMyNl5ZnHiq7ANB+uEdgEvjEfD2H isDcppAYDkyZ4SYn5V5K/51EP/nM= X-Google-Smtp-Source: AGHT+IH/2GnEqFPfQfMItm6skehtBcbSwEw79equ0BglwUOiahbe+KBh33CpKuhCGovSj3NV7Y1Qs9HiVaeJqb1iKEM= X-Received: by 2002:a05:6102:dc6:b0:493:e585:6ce3 with SMTP id ada2fe7eead31-49743af4145mr1160895137.31.1723484943457; Mon, 12 Aug 2024 10:49:03 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <3F5C5B7F-6EE5-437D-9E4A-4C86EC103E7A@getmailspring.com> In-Reply-To: Date: Mon, 12 Aug 2024 11:48:52 -0600 Message-ID: Subject: Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API To: Pierre Joye Cc: John Coggeshall , Levi Morrison , PHP internals Content-Type: multipart/alternative; boundary="000000000000d4a536061f801bf2" From: lnearwaju@gmail.com (Lanre) --000000000000d4a536061f801bf2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Aug 12, 2024 at 11:29=E2=80=AFAM Pierre Joye = wrote: > > Adding thin layers to support external deps using c++ is a necessity and > it is self contained without any other impact, and straightforward. > > It appears we are on the same page unless you are misunderstanding my proposal. I'm not adding C++ to the engine, it's already there, I just want to improve the support for c++ without any impact on the current C api. As it stands now, you can't even have a std::vector since the default destructor doesn't perform any cleanup. I am not proposing replacing anything in the engine with c++. Cheers, Lanre. --000000000000d4a536061f801bf2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Aug 12, 2024 at 11:29=E2=80= =AFAM Pierre Joye <pierre.php@gm= ail.com> wrote:

Adding t= hin layers to support external deps using c++ is a necessity and it is self= contained without any other impact, and straightforward.

It appears we are on the same page = unless you are misunderstanding my proposal. I'm not adding C++ to the = engine, it's already there, I just want to improve the support for c++ = without any impact on the current C api. As it stands now, you can't ev= en have a std::vector<zval> since the default destructor doesn't = perform any cleanup. I am not proposing replacing anything in the engine wi= th c++.
=C2=A0
Cheers,=C2=A0
Lanre.
--000000000000d4a536061f801bf2--