Discussion:
HipHop?
David Anderson
2013-11-18 12:02:30 UTC
Permalink
Hi,

Does anyone have experience, positive or negative, running WordPress on
top of the HipHop virtual machine (
https://en.wikipedia.org/wiki/HipHop_for_PHP) ?

How well does it go, if you have a fairly arbitrary selection of plugins?

Best wishes,
David
--
WordShell - WordPress fast from the CLI - www.wordshell.net
Ryan McCue
2013-11-18 12:11:38 UTC
Permalink
Post by David Anderson
Does anyone have experience, positive or negative, running WordPress on
top of the HipHop virtual machine (
https://en.wikipedia.org/wiki/HipHop_for_PHP) ?
How well does it go, if you have a fairly arbitrary selection of plugins?
Also: If anyone has had any problems with it, please let me know and
I'll pass your feedback on to the HHVM developers. They're pretty
interested in supporting WP, and I've spoken with them about a few
issues in it.

The main thing you'll see is plugins using the ARRAY_A/OBJECT constants
from wpdb in a case-insensitive manner; HHVM's constants are
case-sensitive. Well-made plugins should always be using the uppercase
variants of these.
--
Ryan McCue
<http://ryanmccue.info/>
Martin Lazarov
2013-11-18 12:22:40 UTC
Permalink
You can read interesting facts here (the official page):

http://www.hhvm.com/blog/875/wow-hhvm-is-fast-too-bad-it-doesnt-run-my-code

76% of wordpress code will work with hiphop.

Martin
Post by Ryan McCue
Post by David Anderson
Does anyone have experience, positive or negative, running WordPress on
top of the HipHop virtual machine (
https://en.wikipedia.org/wiki/HipHop_for_PHP) ?
How well does it go, if you have a fairly arbitrary selection of plugins?
Also: If anyone has had any problems with it, please let me know and
I'll pass your feedback on to the HHVM developers. They're pretty
interested in supporting WP, and I've spoken with them about a few
issues in it.
The main thing you'll see is plugins using the ARRAY_A/OBJECT constants
from wpdb in a case-insensitive manner; HHVM's constants are
case-sensitive. Well-made plugins should always be using the uppercase
variants of these.
--
Ryan McCue
<http://ryanmccue.info/>
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Ryan McCue
2013-11-18 12:43:17 UTC
Permalink
Post by Martin Lazarov
http://www.hhvm.com/blog/875/wow-hhvm-is-fast-too-bad-it-doesnt-run-my-code
76% of wordpress code will work with hiphop.
The issue that was causing these failures should be fixed in the latest
versions of HHVM, from what I've been told. (I really wish I could
remember exactly what the error was, but the log appears to have
disappeared.)
--
Ryan McCue
<http://ryanmccue.info/>
Martin Lazarov
2013-11-18 12:52:25 UTC
Permalink
I hope so. Until these fixes are available we can't use
wordpress+hiphop without hacks.
Post by Ryan McCue
Post by Martin Lazarov
http://www.hhvm.com/blog/875/wow-hhvm-is-fast-too-bad-it-doesnt-run-my-code
76% of wordpress code will work with hiphop.
The issue that was causing these failures should be fixed in the latest
versions of HHVM, from what I've been told. (I really wish I could
remember exactly what the error was, but the log appears to have
disappeared.)
--
Ryan McCue
<http://ryanmccue.info/>
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Erick Hitter
2013-11-18 13:28:45 UTC
Permalink
One specific failure is that HHVM doesn't support case-insensitive
constants. At phptek 2013, Sarah
Golemon<http://tek13.phparch.com/speakers/#golemon>mentioned this as a
specific modification they'd made to Core to run WP on
HHVM (the blog at http://www.hhvm.com/blog/ is WP + HHVM).

The $wpdb class makes use of one (
http://core.trac.wordpress.org/browser/trunk/src/wp-includes/wp-db.php?rev=25284#L20).
There may be other cases, but that's the only one I can recall.


Erick
Post by Martin Lazarov
I hope so. Until these fixes are available we can't use
wordpress+hiphop without hacks.
http://www.hhvm.com/blog/875/wow-hhvm-is-fast-too-bad-it-doesnt-run-my-code
Post by Ryan McCue
Post by Martin Lazarov
76% of wordpress code will work with hiphop.
The issue that was causing these failures should be fixed in the latest
versions of HHVM, from what I've been told. (I really wish I could
remember exactly what the error was, but the log appears to have
disappeared.)
--
Ryan McCue
<http://ryanmccue.info/>
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Continue reading on narkive:
Loading...