Re: Re: RFC - Array Of for PHP 7
| From: | lists@rhsoft.net | Date: | Sat, 04 Nov 2017 10:41:36 +0000 |
| Subject: | Re: Re: RFC - Array Of for PHP 7 | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101048@lists.php.net to get a copy of this message | ||
Am 04.11.2017 um 10:18 schrieb Tony Marston:
wrote in message news:941fd347-4a17-78b6-1bd7-4a5519aa722b@rhsoft.net...it depends on the implementation and just beause you say so does not prove anything and even if you need to measure, optimize and make decisions based on technical facts - what you do is "mimimi i say"Am 03.11.2017 um 11:33 schrieb Tony Marston:It's pure common sense! You have to carry around the capability of doing something, then have tests everywhere to see if that capability is actually required or not at run-time.wrote in message news:6643d10b-8703-693c-15c2-da338022ef41@rhsoft.net...unproven claim!Am 02.11.2017 um 10:55 schrieb Tony Marston:Because the language itself becomes bloated with the capabilities it has to offer, look for and deal with. This makes it bigger and slower"Kalle Sommer Nielsen" wrote in messagehow does any feature you don't use affect you?I fail to see how it offers "negative benefits to the vast number of programmers who are happy with the language as it currently exists", IIf it's put into the language then it affects 100% of the users, but what percentage of the user base would actually take advantage of this feature? If it's only 1% then for the other 99% it's a complete waste of time
There is a big difference between adding something to the language core which everyone has to load into memory, and having something in an extension which is entirely optional.WTF, only in your windows world which don't matter that much, everywhere else x86_64 is normal for many years and each softwareor why did 5.3, 5.4, 5.5 and 5.6 not speaking about 7.0/7.1 *all* have new features and where *faster* then the previous version - frankly you are raising alarm for no reasonPHP 7 is faster than PHP 5 for various reasons, such as it being 64bit instead of 32bit
and improvements made to the engine itself, such as the AST. I submit that it would be smaller and faster if it did not have to carry around so much dross. Adding something to the core language just to save a few keystrokes for a small number of lazy developers falls into the category of drossyou ignored that practicaly *every* PHP version before PHP/ was faster *and* had new features compared to the previous one