Re: Is it possible introduce HHVM into PHP kernel tree?
| From: | Stas Malyshev | Date: | Fri, 03 Jan 2014 19:41:19 +0000 |
| Subject: | Re: Is it possible introduce HHVM into PHP kernel tree? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70992@lists.php.net to get a copy of this message | ||
Hi!
> Syntax: Yes, HHVM is an equivalent engine.*
> Runtime Library: This is the big gap. PHP has a bunch of bundled
From what I understand, there's also a certain gap in semantics - while
hhvm accepts PHP syntax (or most of it), it doesn't do the same with it
as PHP does. With the result that if you're going to run real life app
on it, there are chances that it wouldn't work unless it was developed
against hhvm from the start.
Building hhvm is right now not for the faint of heart either, at least
compared to how easy it is to build PHP on any reasonable supported
platform. E.g., for centos you need to manually rebuild whole gcc
toolchain, and the same for mac os x 10.8 (earlier versions not even
supported).
Also, while I greatly appreciate the efforts of folks at Facebook to
make the engine available and working, I am still not sure
organizationally how important it is for Facebook that this engine is
running anything but Facebook, or, even wider, everything (PHP) that is
not Facebook. I.e. it may be important for some people within Facebook
as their project, but organizationally it is a project to run Facebook,
isn't it? Which implies some decisions when they need to be made, and
corners cut when they need to be cut, etc. I understand hhvm works
really good for Facebook, and may even work fine with some lucky PHP
apps, but the last 10% is the hardest. Does it make sense to make the
investment? I of course have no idea what Facebook as an org answers to
this question...
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227