Live data from Hacker News

Peachpie – Open Source PHP Compiler to .NET and WordPress under ASP.NET Core

hanselman.com

1–10 of 36 posts

Re: Peachpie – Open Source PHP Compiler to .NET and WordPress under ASP.NET Core

#2
This has nothing to do directly with this blog post, but just wanted to say that Scott Hanselman is probably the best that could have happened to .NET of all things. Better than Linq and async/await together. He's an amazing speaker and his blog is a great resource for everything around .NET. Can highly recommend to watch and follow this guy!

Re: Peachpie – Open Source PHP Compiler to .NET and WordPress under ASP.NET Core

#3
This is really about Peachpie, an open source PHP to .NET compiler. (Edit: the title has now been updated) From the comments on the article, here's a set of benchmarks showing Peachpie with a significant performance advantage over PHP 7 in a number of benchmarks: http://www.peachpie.io/benchmarks. That said, it's still hard to get excited about PHP.

Re: Peachpie – Open Source PHP Compiler to .NET and WordPress under ASP.NET Core

#4
post #3

This is really about Peachpie, an open source PHP to .NET compiler. (Edit: the title has now been updated) From the comments on the article, here's a set of benchmarks showing Peachpie with a significant performance advantage over PHP 7 in a number of benchmarks: http://www.peachpie.io/benchmarks . That said, it's still hard to get excited about PHP.

We have a huge PHP codebase we may be interested to bring into the .NET world. I have looked at Peachpie but I wonder how well it works in the real world and what the long term prospects are.

Has anybody used it? The PHP code is full of questionable code which somehow works in PHP but I am not sure if it's possible to map PHP's behavior into .NET..

Re: Peachpie – Open Source PHP Compiler to .NET and WordPress under ASP.NET Core

#5
post #3

This is really about Peachpie, an open source PHP to .NET compiler. (Edit: the title has now been updated) From the comments on the article, here's a set of benchmarks showing Peachpie with a significant performance advantage over PHP 7 in a number of benchmarks: http://www.peachpie.io/benchmarks . That said, it's still hard to get excited about PHP.

Disclaimer: PHP core dev.

Be careful with microbenchmarks. From my experience, there tends to be very little correlation between performance improvements on microbenchmarks and real applications. If you improve performance on the microbench suite by a factor of two, you definitely will not get a factor of two on real applications -- more likely, it will be something like 2%.

Basically, if the benchmark is not testing end-to-end performance on Wordpress (or similar), then it's a useless benchmark.

Re: Peachpie – Open Source PHP Compiler to .NET and WordPress under ASP.NET Core

#6
post #4
post #3

This is really about Peachpie, an open source PHP to .NET compiler. (Edit: the title has now been updated) From the comments on the article, here's a set of benchmarks showing Peachpie with a significant performance advantage over PHP 7 in a number of benchmarks: http://www.peachpie.io/benchmarks . That said, it's still hard to get excited about PHP.

We have a huge PHP codebase we may be interested to bring into the .NET world. I have looked at Peachpie but I wonder how well it works in the real world and what the long term prospects are. Has anybody used it? The PHP code is full of questionable code which somehow works in PHP but I am not sure if it's possible to map PHP's behavior into .NET..

They did get WordPress at least sort of running on it. That wasn't possible with the first releases of hhvm, so it says something.

Re: Peachpie – Open Source PHP Compiler to .NET and WordPress under ASP.NET Core

#7
post #4
post #3

This is really about Peachpie, an open source PHP to .NET compiler. (Edit: the title has now been updated) From the comments on the article, here's a set of benchmarks showing Peachpie with a significant performance advantage over PHP 7 in a number of benchmarks: http://www.peachpie.io/benchmarks . That said, it's still hard to get excited about PHP.

We have a huge PHP codebase we may be interested to bring into the .NET world. I have looked at Peachpie but I wonder how well it works in the real world and what the long term prospects are. Has anybody used it? The PHP code is full of questionable code which somehow works in PHP but I am not sure if it's possible to map PHP's behavior into .NET..

The previous version of Peachpie, Phalanger, had several clients with huge codebases who successfully used it to migrate their apps or interoperate with C#. Peachpie works the same way.

Re: Peachpie – Open Source PHP Compiler to .NET and WordPress under ASP.NET Core

#10
post #6
post #4

Earlier quoted context omitted.

We have a huge PHP codebase we may be interested to bring into the .NET world. I have looked at Peachpie but I wonder how well it works in the real world and what the long term prospects are. Has anybody used it? The PHP code is full of questionable code which somehow works in PHP but I am not sure if it's possible to map PHP's behavior into .NET..

They did get WordPress at least sort of running on it. That wasn't possible with the first releases of hhvm, so it says something.

It's says they actually get WordPress running before releasing it. Not that I want to undermine project achievements, but WordPress likely going to work even on PHP 5.2.x that almost 10 years old.
Post reply on HN