Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123010 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 E04CD1A009C for ; Sun, 7 Apr 2024 10:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1712486444; bh=fbU15ikWF9WU73qJibbpcDpmKHFZlwo6dPLT7LF+1Z4=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Pjap657V0yD34vxSTrKXxRlut9FV1XkbHx2OY/P7+oM9C7Pl4coEcJECYGT5D3ziY lpQxGcLy8LIcyScWr60JoJbKVk3ml7r6SaGjgcm41hPaMHYG6XAEd5Fxqg1XOIPmEM nnhi6eJ/WkPqZIyjZLMUqA1o47BLohQEfknK5yYfP45xC0CmODWiG71j+AeS/37v/r pCLbFdisYC1I/rHMypZHPZsy2JewtFVO+v+QvcUUC5LbpJSVVupXxm+AGdlb5piSUA 4WzkHGHS/NWOyrcUpzBF+y7xf42fEQxEt6qdy3HbeGhvoc9XkTX44aJS90BNHemLsk U2ECbObX/ur2g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1D85B18067F for ; Sun, 7 Apr 2024 10:40:43 +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=1.0 required=5.0 tests=BAYES_50,DMARC_MISSING, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from gliadin.co.uk (gliadin.co.uk [80.82.115.221]) by php-smtp4.php.net (Postfix) with ESMTP for ; Sun, 7 Apr 2024 10:40:42 +0000 (UTC) Received: from [192.168.0.17] (hari-18-b2-v4wan-169870-cust740.vm1.cable.virginm.net [92.239.242.229]) by gliadin.co.uk (Postfix) with ESMTPSA id 61B0DFA0338 for ; Sun, 7 Apr 2024 13:40:10 +0300 (MSK) Content-Type: multipart/alternative; boundary="------------0OysqPNoCnUbb5U1cAuAlviC" Message-ID: Date: Sun, 7 Apr 2024 11:40:08 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] Native decimal scalar support and object types in BcMath - do we want both? To: internals@lists.php.net References: <37e79b28-ac4d-4413-9df8-54a123dfd1e3@redmagic.org.uk> <240D79D1-708D-45A7-9989-D28893955D6E@rwec.co.uk> Content-Language: en-US In-Reply-To: <240D79D1-708D-45A7-9989-D28893955D6E@rwec.co.uk> From: barney@redmagic.org.uk (Barney Laurance) This is a multi-part message in MIME format. --------------0OysqPNoCnUbb5U1cAuAlviC Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 07/04/2024 11:07, Rowan Tommins [IMSoP] wrote: > > On 7 April 2024 01:32:29 BST, Jordan LeDoux wrote: > >> Internals is just volunteers. The people working on BCMath are doing that >> because they want to, the people working on scalar decimal stuff are doing >> that because they want to, and there's no project planning to tell one >> group to stop. That's not how internals works (to the extent it works). > I kind of disagree. You're absolutely right the detailed effort is almost always put in by people working on things that interest them, and I want to make clear up front that I'm extremely grateful to the amount of effort people do volunteer, given how few are paid to work on any of this. > > However, the goal of the Internals community as a whole is to choose what changes to make to a language which is used by millions of people. That absolutely involves project planning, because there isn't a marketplace of PHP forks with different competing features, and once a feature is added it's very hard to remove it or change its design. > > If - and I stress I'm not saying this is true - IF these two features have such an overlap that we would only want to release one, then we shouldn't just accept whichever is ready first, we should choose which is the better solution overall. And if that was the case, why would we wait for a polished implementation of both, then tell one group of volunteers that all their hard work had been a waste of time? > > So I think the question is very valid: do these two features have distinct use cases, such that even if we had one, we would still want to spend time on the other? Or, should we decide a strategy for both groups to work together towards a single goal? > > That's not about "telling one group to stop", it's about working together for the benefit of both users and the people volunteering their effort, to whom I am extremely grateful. Yes, I was going to say the same thing as Rowan. But also Jordan has shown that there's at least one advantage to each proposal - one would be much more performant, one would might be releasable a lot sooner. That's a possible reason to keep both. --------------0OysqPNoCnUbb5U1cAuAlviC Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
On 07/04/2024 11:07, Rowan Tommins [IMSoP] wrote:

On 7 April 2024 01:32:29 BST, Jordan LeDoux <jordan.ledoux@gmail.com> wrote:

Internals is just volunteers. The people working on BCMath are doing that
because they want to, the people working on scalar decimal stuff are doing
that because they want to, and there's no project planning to tell one
group to stop. That's not how internals works (to the extent it works).
I kind of disagree. You're absolutely right the detailed effort is almost always put in by people working on things that interest them, and I want to make clear up front that I'm extremely grateful to the amount of effort people do volunteer, given how few are paid to work on any of this.

However, the goal of the Internals community as a whole is to choose what changes to make to a language which is used by millions of people. That absolutely involves project planning, because there isn't a marketplace of PHP forks with different competing features, and once a feature is added it's very hard to remove it or change its design.

If - and I stress I'm not saying this is true - IF these two features have such an overlap that we would only want to release one, then we shouldn't just accept whichever is ready first, we should choose which is the better solution overall. And if that was the case, why would we wait for a polished implementation of both, then tell one group of volunteers that all their hard work had been a waste of time?

So I think the question is very valid: do these two features have distinct use cases, such that even if we had one, we would still want to spend time on the other? Or, should we decide a strategy for both groups to work together towards a single goal?

That's not about "telling one group to stop", it's about working together for the benefit of both users and the people volunteering their effort, to whom I am extremely grateful.


Yes, I was going to say the same thing as Rowan. But also Jordan has shown that there's at least one advantage to each proposal - one would be much more performant, one would might be releasable a lot sooner. That's a possible reason to keep both. --------------0OysqPNoCnUbb5U1cAuAlviC--