KPHP
Developer(s) | VKontakte |
---|---|
Repository |
github |
Written in | C, C++ |
Type | Translator PHP into C++ |
License | GPL, LGPL |
Website |
github |
KPHP (kPHP or KittenPHP) is a free PHP-to-C++ source-to-source translator, developed by VKontakte.
According to the developers, a social network's May 2013 transition to KPHP gave a twofold increase in performance.[1] In March 2014, code compiler and related tools were released as free software on GitHub.[2]
KPHP was conceived as not fully compatible with the PHP language to speed up compilation. It is possible to explicitly specify the types of variables and there is very limited use of the OOP. Furthermore, KPHP benefits in terms of a static analysis of the code, and uses less memory and CPU time.[3]
K- prefix comes from the word kitten, which became a sort of tradition in the internal development of VKontakte.[4]
See also
References
- ↑ ""ВКонтакте" разработала свой вариант языка программирования PHP: соцсеть работает вдвое быстрее" ["VKontakte" has developed its own version of the programming language PHP: social network is twice as fast] (in Russian). 20 July 2013. Retrieved 8 March 2014.
- ↑ "Релиз KPHP и движков" [Release of KPHP and engines] (in Russian). 6 March 2014. Retrieved 8 March 2014.
- ↑ "kPHP против американского HipHop'а" [kPHP vs HipHop] (in Russian). 5 August 2013. Retrieved 8 March 2014.
- ↑ "О kPHP: как котята ускоряют ВКонтакте" [kPHP: how kittens speed up VKontakte] (in Russian). 22 July 2013. Retrieved 8 March 2014.
External links
This article is issued from Wikipedia - version of the 11/5/2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.