Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124932 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 1D94B1ADBFA for ; Wed, 14 Aug 2024 19:06:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1723662487; bh=xgLB1HN/PVNH60TTtfsgIHIbQJPfJaK8uI8zqdMew9o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=iusKPOSnmXzNS1rD1EhlsmbNi4LN6dBpXKdbWWh0ZPWdb9fTzybofLBCOcf6Bx05K ygnLcuaCLJk7LjR656Gw28Nv6CXFD8lH5IAQrTse9Ab5+I9PQDM5yRq5ua/vDvoesv SohaW41GygnjxVy0pky/URlbZ5NMp/R8f3diVQmpVt5+JFAWxwlD4vJxxflJrM8O3N wHWbhF3bir94rraw7eVV5TQNoxxP3SLzUzI3jA9r2BeMXWYsSBg05w1+nDn5p/Fswn v0Uo3f1QsbTuAIt/3GSQWC37oY7+6iF6jrji+Z2/CXuJLQ8lIhzzLn/EQXU+l89iUn UHtoF6K5MlpSQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DAF761801EE for ; Wed, 14 Aug 2024 19:08:05 +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-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 ; Wed, 14 Aug 2024 19:08:01 +0000 (UTC) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-3683f56b9bdso137922f8f.1 for ; Wed, 14 Aug 2024 12:06:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723662374; x=1724267174; 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=xgLB1HN/PVNH60TTtfsgIHIbQJPfJaK8uI8zqdMew9o=; b=X0N/NfcJQ2zfMJRNc33HArEk6KrE5BroIN3c2Tslz8DFsLCSCENzkEnOyDbVyCojpL z1jB0z2uWFMNZV0ay/pWfPHsIUwnomwMxwxCcg5M+fei7PQn1TJN9g1F/vLGYMsPLPoF 5hTnXWrq/kqhbNw6NchRcvseIEEzjL8AwHv7rS9iZPnmfvKRL+IuqQWO4iiAoSPVEv8o FT72pqT2lwSgExRuUPDJ8E3B333ySdUni2sKQCdLZ1fIF5dBr90QYzD984CQkf+1OBxO BKPOejwYGCtK5dLfhdb/lQV7N9f0px5MU9NMlHRXj2Tp1kfapmnGnOi2MdJJW2rrEs5L /IPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723662374; x=1724267174; 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=xgLB1HN/PVNH60TTtfsgIHIbQJPfJaK8uI8zqdMew9o=; b=rMjBxhBCxYjl3vUlkX9Arph4y/mVlNyBiJROEozOBcDbG/G5UzV+0CMvh4rIzgUU2q 3L+XhPmHb+QUBnpDTkbro3rYatuJd5tZ5tiPStdivoUZBtb8T7t/z2o3MH24pRLI0oSW gvxTPPMWcQP83BUlKs0LCy0MAp6jyVE74oqK1j5dfg//+yhSjQ1iumNymDdoQDLO7mWF ql2Rr77MRvGbefA/1oRzZhYISiLO4NukIMf9o7cTH27TGby60+QwzysdMErxXpyV1J/C EkUx5Ouct+/p8DAhOlfLdk5MZalLBVU35T6NMGIUe2oLe/fP+cehEsLKRi3No91kJBmb C7rA== X-Forwarded-Encrypted: i=1; AJvYcCW4sbWenQ5t8gPsSf15jdLYVCK6r7K8owQ/MkAmkN4nq/rMDrav7KuJH0gIbv0c5B3G/PDr0WDKE12+eoBNkv/FXd3Z0k95wQ== X-Gm-Message-State: AOJu0Yx2Lp0PtMzBEiv7pcebXXpYMCNHOkziwrmgVdxPZYggDo/TXzvy spakQHP2lzAYVYbwCvMhfT0KLkxLIDXs9q2XNKA9Vvyc3JQL7+zPoSg7JcHb4/qEULf1gXjZue+ m1HF3FS50nIlXcwPV4nUE1kCWq9M= X-Google-Smtp-Source: AGHT+IF1WCXhBJrKmeL8xe8fcY48ejvd9xkM2egKbOcphv+ixYeLp4gnvNOtdpVveGX600wYk2dY6smpap0/VAgW1CI= X-Received: by 2002:a5d:5d84:0:b0:371:7e73:eb43 with SMTP id ffacd0b85a97d-3717e73ec6emr884811f8f.42.1723662373438; Wed, 14 Aug 2024 12:06:13 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <89C901BF-DCEA-498E-93B0-750C49E6275B@getmailspring.com> <0BB4DB2D-62E1-40F9-91F3-7D48367D2CBE@edison.tech> <9fb2c610-eed9-4773-8158-adef581d6a5b@free.fr> In-Reply-To: Date: Wed, 14 Aug 2024 22:05:36 +0300 Message-ID: Subject: Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API To: Lanre Cc: Pascal Chevrel , Mike Schinkel , John Coggeshall , Levi Morrison , PHP internals Content-Type: multipart/alternative; boundary="0000000000007b4fb1061fa96bf8" From: arvids.godjuks@gmail.com (Arvids Godjuks) --0000000000007b4fb1061fa96bf8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I want to remind everyone on the thread that code does not only have to be written, which is the "easy part", but it also has to be supported by everyone into the future and chances that the original author sticks around are not that high to do it. The Rust thing is shitposting for the sake of shitposting and memeing on the theme "rust solves everything" and "lets rewrite everything into Rust". Here's a link with the reminder of the hard rules php-src and internals have: https://github.com/php/php-src/blob/master/docs/mailinglist-rules.md And here's the wiki page on the internals etiquette: https://wiki.php.net/email_etiquette_for_people_new_to_php_internals PHP has C as core and has allowed C++ for extensions. Expanding that support is a no-brainer, especially since modern C++ has stepped up in major ways and I don't think C sees a lot of development any more, so it makes sense to move towards C++. The only thing people on this thread need to agree on is the timeline for expanding that support. I would suggest adopting a multi-year schedule through multiple PHP versions and get that show on the road. --=20 Arv=C4=ABds Godjuks +371 26 851 664 arvids.godjuks@gmail.com Telegram: @psihius https://t.me/psihius --0000000000007b4fb1061fa96bf8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I want to remind everyone on the thread that code doe= s not only have to be written, which is the "easy part", but it a= lso has to be supported by everyone into the future and chances that the or= iginal author sticks around are not that high to do it.

The Rust thing is shitposting for the sake of shitposting and memeing= on the theme "rust solves everything" and "lets rewrite eve= rything into Rust".
Here's a link with the reminder of t= he hard rules php-src and internals have:=C2=A0https://github.com/php= /php-src/blob/master/docs/mailinglist-rules.md=C2=A0
And = here's the wiki page on the internals etiquette:=C2=A0https://wik= i.php.net/email_etiquette_for_people_new_to_php_internals
PHP has C as core and has allowed C++ for extensions. Expanding= that support is a no-brainer, especially since modern C++ has stepped up i= n major ways and I don't think C sees a lot of development any more, so= it makes sense to move towards C++.
The only thing people on thi= s thread need to agree on is the timeline for expanding that support. I wou= ld suggest adopting a multi-year schedule through multiple PHP versions and= get that show on the road.
--
=

Arv=C4=ABds Godjuks
+371 26 851 664
Telegram: @psihius=C2=A0https://t.me/psihius
--0000000000007b4fb1061fa96bf8--