Live data from Hacker News

VK.com's PHP accelerator – kPHP source code

github.com

1–10 of 27 posts

Re: VK.com's PHP accelerator – kPHP source code

#2
This is awesome, I was considering applying to vk.com because they seem to be a very good and open house based in St. Petersburg.

I know it's where Snowden went to work too, and they're the ones behind Telegram.

it's interesting how much I've heard about them since I started dating a Russian girl... but, yes, good things.

Re: VK.com's PHP accelerator – kPHP source code

#6

Sounds like HipHop, Facebook's PHP->C++ translator. http://en.wikipedia.org/wiki/HipHop_for_PHP Anyone know how they compare?

HipHop compiles the script natively, while KittenDB seems to converts to C++ and then compiles it. KittenDB seems to have fewer dependencies, meaning it's likely to be less feature rich. This could be down to the fact that HipHop is actually a full stack, while this is just the interpretation layer.

I'm finding it difficult to find any more details because the documentation is in Russian.

I'm interested in the fact that both Facebook and the Russian equivalent independently started work on the same basic idea. It's almost like convergent evolution.

Re: VK.com's PHP accelerator – kPHP source code

#8
kPHP doesn't support all of the PHP features - there is no OOP for example. They claim [0] though that kPHP is faster than its competitors. Unfortunately, it seems the documentation is currently available only in Russian.

[0] - http://habrahabr.ru/company/vkontakte/blog/214877/ (it's in Russian, I used Google Translate)

Re: VK.com's PHP accelerator – kPHP source code

#9

Of all this code, storage should probably be most interesting to outsiders given how fast, reliable and synchronous vk.com is. I've heard they do crazy things with data storage. I wonder if someone would step up, figure it out and tell the world.

could you explain a little more, what crazy things?

Re: VK.com's PHP accelerator – kPHP source code

#10

kPHP doesn't support all of the PHP features - there is no OOP for example. They claim [0] though that kPHP is faster than its competitors. Unfortunately, it seems the documentation is currently available only in Russian. [0] - http://habrahabr.ru/company/vkontakte/blog/214877/ (it's in Russian, I used Google Translate)

> there is no OOP

So basically it doesn't support 95% of all PHP code written in the past decade?

Post reply on HN