About Peachpie Compiler

We have been developing Peachpie compiler since February 2016. The underlying technologies, however, date all the way back to 2005. What was then called Phalanger started out as a university project at the Faculty of Mathematics and Physics of the Charles University in Prague.

Phalanger had been developed and maintained for many years, had an extensive user base and several paying clients. It was capable of running entire frameworks or CMS’s such as WordPress or Jadu. For a full list of Phalanger references, click here.

However, the development and maintenance of Phalanger slowed down and stopped at PHP 5.6. Several years later, fuelled by the introduction of Microsoft’s Roslyn compiler platform, and utilizing the knowledge we obtained from maintaining Phalanger, we decided to revive the concept of a PHP compiler to .NET. We heavily inspired ourselves from Phalanger, but rewrote the compiler’s architecture in order to bring it to a modern state. Peachpie compiler is built on top of Roslyn and will support the latest versions WordPress, as well as PHP 7.

Most benchmarks so far have clearly shown that Peachpie is between 10 and 20 times faster than Phalanger.

The Team

    Jakub Míšek
    Jakub Míšek
    CTO
    Jakub is currently pursuing his PhD in software engineering at the Charles University and he is also the CTO of Devsense, where he works on PHP Tools for Visual Studio.
    Ben Fistein
    Ben Fistein
    MD
    Ben has degrees in Marketing, International Business and International Management and currently works full time at Hewlett Packard Enterprise.
    Robert Husák
    Robert Husák
    C# Black Belt
    Robert is also pursuing his PhD in software engineering at the Charles University in Prague and has previously worked on projects in the healthcare sector. He enjoys Taekwondo and dropkicking poor code.

Goals of the Project

We have received many confused inquiries as to what we are trying to achieve with this project. Firstly, we know from experience that there is a plethora of legacy PHP applications out there that would benefit from being compiled to .NET. Some of the largest companies in the world still rely heavily on their apps written many years ago. This legacy code is slowing down their performance and costing the companies scarce financial resources by using unnecessary CPU power on the cloud.

Secondly, we strive to improve the collaboration between PHP and .NET developers within a single project. There is currently a deep cliff between the two camps and the resulting output is difficult to coordinate. Peachpie compiler’s both-way interoperability allows PHP and .NET developers to collaborate seamlessly within projects, thereby reducing the unnecessary administrative overhead of glueing the two together at the end.

Finally, we firmly believe that there is an immense value in the world of PHP. It is our conviction that, if given the chance, PHP developers would come up with creative and efficient solutions. Peachpie opens up previously untouched markets for PHP programmers to explore, such as games, cross-platform apps or IoT. We are excited to see what products will spring forth when they will be able to use Peachpie for this purpose.