Hacker News new | ask | show | jobs
by MichaelGG 4571 days ago
Does HHVM get massive gains for "normal" PHP code? I remember reading something about FB's early efforts, and there were strict guidelines about proper usage and whatnot.

I have no idea how "good" "normal" PHP code is written compared to Ruby/Python.

2 comments

We tried HHVM for use with our "normal" PHP.

There was a measurable performance increase, but it was disappointing overall. Perhaps my initial hopes were too high.

Our company is small and engineering/ops resources are very limited, leading to a lot of pragmatic decisions. After a few days of experimentation, I decided that HHVM was promising, but for us it's not yet worth the extra ops infrastructure.

We get much bigger improvements tuning other pieces of our stack.

It works for Wordpress and Drupal, and those contain 90% of PHP functions. I mean there are times you will find issues or what not, but for the most part it's pretty good.