pplusplus:faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
pplusplus:faq [2019/08/12 12:09] – Move 'concerns' into a separate document, revert dynamic/weak/strong changes - "strict" means strong and static typing zeevpplusplus:faq [2019/08/12 12:43] – Add Hack comparison zeev
Line 112: Line 112:
  
  
 +==== This is Hack all over again, isn't it?  Why would it fair any better? ====
 +
 +While conceptually the motivations for both P++ and Hack are similar - there are at least two critical differences between the two - each of which is likely sufficiently big to change the expected outcome.
 +
 +  * Hack was/is developed by a single company, and not as an open process by volunteers.  Even if the vendor that's behind it is gigantic - companies and individuals were often reluctant to standardize on a such a platform.
 +  * Perhaps more importantly - Hack (and HHVM) did not have PHP's gigantic distribution vehicle.
 +    * For Hack, it was an uphill battle for users to even give it a try:
 +      * They had to learn about its existence, and be sufficiently interested to learn more about it.
 +      * Assuming they were interested enough to give it a try - they had to go through the trouble of setting it up - using entirely different methods from the ones they were used to from the PHP days (different layout, different configuration, different everything).
 +    * With P++ - this is a radically different story from the ground up:
 +      * Every user of PHP (starting with 8.0, or whenever we make it available) - will have it available on their servers.  You will not have to install anything, or set anything up - it will simply be there.
 +      * This in turn means that virtually anybody running a Linux distro, a recent version of WAMP, a recent version of MAMP - millions of servers and development workstations will have access to P++ without having to do anything proactively.
 +      * In terms of awareness - since P++ will be a big part of the "What's new in PHP 8" - it will enjoy free marketing like Hack could only dream of - similar to the PHP 7 performance splash (few in the PHP world are unaware of it).
 +      * Of course, it doesn't mean that everyone will want to start using it - but the barrier to entry with P++ is many orders of magnitude lower than what Hack to face.
  
 ==== What are the general concerns?  ==== ==== What are the general concerns?  ====
  
 Arnold Daniels compiled [[https://wiki.php.net/pplusplus/concerns|a list of concerns]] about this proposal. Arnold Daniels compiled [[https://wiki.php.net/pplusplus/concerns|a list of concerns]] about this proposal.
pplusplus/faq.txt · Last modified: 2019/08/14 13:47 by zeev