Live data from Hacker News

WordPress on .NET

peachpie.io

11–20 of 174 posts

Re: WordPress on .NET

#12
post #10
post #9

Earlier quoted context omitted.

What's the benefit over running a standard PHP-Interpreter? Haven't used PHP or WordPress since 2010 so I might have missed something but to me this looks more like a tech demo then something one would use in a production environment.

I remember from the PHP on Java that there were huge performance benefits. So large PHP hosts should see benefits.

PHP 7 improved performance by around 3x compared to PHP5, so I wonder how true that still is.

Re: WordPress on .NET

#13
post #3

This seems to be built on an open-souce PHP->CLR compiler called Peachpie[1]. Interesting project. I don't have any PHP codebase that I still maintain but looking forward to trying it with some scripts I've written back in the days. I wonder if it would be faster than PHP 7 - which is already very fast (ok, just found these: http://www.peachpie.io/benchmarks ). [1]: http://www.peachpie.io/ [edit] If the author is loo…

Interesting. I had heard of https://github.com/DEVSENSE/Phalanger the predecessor to PeachPie.

Re: WordPress on .NET

#15
I've been following the peachpie project for a while. The effort they put in is very impressive.

They choose to heavily modify the C#/VB compiler (Roslyn) to handle php syntax. Microsoft should be investing time into helping them succeed, it would be great to see the Roslyn compiler platform become more broadly used.

Re: WordPress on .NET

#16
post #14
post #4

This is very clever, what is the performance like compared to PHP?

From their benchmarks page (which looks remarkable) http://www.peachpie.io/benchmarks

This page doesn't have memory usage -- large PHP applications tend to chug memory. But the execution time does look very impressive.

Next step is to get Symfony, Laraval, et al to run on this.

Re: WordPress on .NET

#17
post #10
post #9

Earlier quoted context omitted.

What's the benefit over running a standard PHP-Interpreter? Haven't used PHP or WordPress since 2010 so I might have missed something but to me this looks more like a tech demo then something one would use in a production environment.

I remember from the PHP on Java that there were huge performance benefits. So large PHP hosts should see benefits.

Currently there are few microbenchmarks on http://www.peachpie.io/benchmarks Expecting to be updated soon

Re: WordPress on .NET

#18
post #7

Running PHP and indeed WordPress on the .NET CLR seems like a great way to eliminate a whole tranche of bugs/vulnerabilities in one swoop. Respect.

True, I've been noted, for example, about issues with openssl library, which is updated with every update of PHP ... while Peachpie uses the one provided within .NET which might be more frequently updated by Windows Update.

Re: WordPress on .NET

#19
post #5

Well, considering the fact that PHP post v4 is trying to become Java, it made sense that at some point it would be able to run on the JVM or its step-cousin CLR. By the way, does anyone know of a similar project where the JVM is targeted instead?

j-php - but they don't try to be able to run existing apps

Re: WordPress on .NET

#20
post #14
post #4

This is very clever, what is the performance like compared to PHP?

From their benchmarks page (which looks remarkable) http://www.peachpie.io/benchmarks

Remarkable, but as bleeding-edge tech I think it's disingenuous to include PHP5.6, which is now only on security support. I know many PHP sites run this version and even older ones, but I think the audience for a project like this are PHP7 developers.

That said, I was really impressed by the improvement on require performance. The requests/sec also seem to have big gains.

I also wonder what security improvements other are expecting from this? Isn't unsecure code unsecure regardless of language?

Post reply on HN