Menu
PeachPie PHP to .NET project reaches 1.0 milestone

PeachPie PHP to .NET project reaches 1.0 milestone

Now with support for Visual Studio Code and other IDEs, the PHP-to-.NET converter runs WordPress and other apps.

Credit: Dreamstime

PeachPie, a project to support the PHP language natively on the .NET runtime, is now available in a 1.0.0 release, with a slew of features—including IDE support—aimed at getting developers on board.

Originally announced in 2016, PeachPie is intended to be not only a runtime for PHP on .NET, but a full development platform. It allows a legacy PHP codebase to be migrated incrementally, with two-way interaction between the PHP and .NET worlds. Many, but not all, PHP extensions are supported through PeachPie.

The PeachPie 1.0 release contains support for the commonly used 7.4 version of PHP, integration with IDEs, user-friendly error messages, and a number of other features intended to help developers adopt it.

An online version of the compiler lets you try out compiling PHP code to C#, Visual Basic, or the .NET IL to get an idea of what the generated code is like. Compiling to WebAssembly is also supported.

Right now the PeachPie project makes few explicit claims about performance, with the Benchmarks section of the site listing only a few. But of those listed, PeachPie scores better than both the original PHP runtimes and the HHVM project devised by Facebook to accelerate PHP performance.

The announcement blog post provides some detail about using PeachPie’s ahead-of-time compilation tool, NativeAOT, for further performance enhancement, noting the gains will vary depending on workload and the state of the original PHP code. PHP code with type hints tends to perform better, as it allows PeachPie to perform more targeted optimisations.

Many existing PHP applications are available in PeachPie’s catalog of applications ported to the PeachPie runtime. Among them is WordPress, arguably the most popular application written in PHP, and one of the apps most likely to benefit from the performance boosts promised by PeachPie. 


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Events

Why experience is the new battleground for partners

Join us for an exclusive webinar, in association with Hewlett Packard Enterprise and Technology Services Industry Association (TSIA) and learn about the latest industry insights and how technology services continue to evolve to deliver differentiated value, and how partners can be successful in 2021 and beyond.

Featured

Slideshows

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

Hundreds of leaders from the New Zealand IT industry gathered at the Hilton in Auckland on 17 November to celebrate the finest female talent in the Kiwi channel and recognise the winners of the Reseller News Women in ICT Awards (WIICTA) 2020.

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards
Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards

Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards

The leading female front runners of the New Zealand ICT industry joined together for the annual Reseller News Women in ICT Awards event at the Hilton in Auckland, during which hundreds of guests celebrated 13 outstanding individuals who won awards, chosen from more than 50 finalists representing over 30 organisations.

Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards
Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners

Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners

More than 500 channel leaders gathered in Auckland on 21 October at the ​Reseller News Innovation Awards ​2020 to celebrate the achievements of the New Zealand technology industry's top partners, start-ups, vendors, distributors and individuals.

Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners
Show Comments