Carmelo Santana
Back to Blog
PHP
Performance
HHVM

Two weeks of HHVM

February 6, 2014

I must say I'm most impressed by the performance increase via command line. We use several PHP based command line tools at DealerX. These tools comb millions of vehicles a week, cleaning and sanitizing and matching data for search and other end user displays. I think she's a keeper.

Today, 6 years later, quite comfortable with PHP but feel like as though it's getting a bum deal being a dynamic language an all. With projects like HHVM chugging away, I'm looking for other ways to bridge the gap between PHP and C.

Having never written any C before, I quickly realized it was quite needy. I decided to try out BinaryPHP, it quickly converts your PHP into source and compiles an executable for you.

For those who are curious, you can grab all sources from github.

https://github.com/carmelosantana/doge-php-c