Live data from Hacker News

WordPress on .NET

peachpie.io

51–60 of 174 posts

Re: WordPress on .NET

#51
post #12
post #10

Earlier quoted context omitted.

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.

The benchmarks http://www.peachpie.io/benchmarks show peachpie outperforming PHP7 easily by 100x.

Re: WordPress on .NET

#52
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…

>I also admire the platform but most secure? Comes off a bit too strong.

There aren't a lot of .NET exploits for a variety of reasons. Its pretty much the Java of the MS world so a lot of issues more liberal languages have, it doesn't, especially in regards to buffer overflows. Its attack surface is also pretty low as it only really inter-operates, by default, with a limited number of MS applications and is frequently the most common setup, while PHP supports anything and everything. Http.sys also seems like a more secure product than openssl.

That said, its also the minority platform so it benefits from a lack of effort to target it. I also worry that the closed nature of the platform could lead to someone(s) building up an army of zero days while the more open stuff gets discovered and disclosed faster. I'm not sure how realistic that fear is.

At my job we're always scrambling with our FOSS architecture in regards to emergency patching. The MS stuff is more or less 'do monthly patches and forget.'

Re: WordPress on .NET

#53

Your developers were so preoccupied with whether or not they could, they didn’t stop to think if they should.

That's an assumption on your part. What a terrible comment.

He's quoting Jurassic Park. The idea is that the technology does something that would normally be considered highly unusual or even ridiculous to consider, like running a very complicated code base through a transpiler to make it run on another tech stack. Generally speaking, this kind of comment would be a compliment. Sort of along the lines of "wow, that's absolutely crazy, you did something no one would have thought possible, good work".

It's a much more light-hearted comment than you seem to think it is.

Re: WordPress on .NET

#54
post #31

Earlier quoted context omitted.

Agreed. It's usually the opposite, especially in enterprise. People on HN get in their bubbles and forget that most large businesses use Windows.

This is on .NET Core, so you can actually run this anywhere! I do a lot of Core development on a Mac, but it runs well on AWS/Linux/my toaster. Weird times, huh?

Out of curiosity, why do you use .NET? (Assuming you use Mac/AWS/etc because you like them)

Re: WordPress on .NET

#55
post #49

Earlier quoted context omitted.

Critical mass, availability of developers, good documentation, free. There are many reasons why people pick one technology over another.

Or "facebook uses it". That one tends to go far.

Didn't they start with it and migrate away?

Re: WordPress on .NET

#56

This is a great way for Microsoft to show the potential of and build awareness for .NET core, I hope they are helping these guys. The nuget thing is inefficient, MS should plot a path to make npm a first class citizen in all ms tools.

That would require a filesystem that can handle node first.

Re: WordPress on .NET

#57

Earlier quoted context omitted.

That's an assumption on your part. What a terrible comment.

He's quoting Jurassic Park. The idea is that the technology does something that would normally be considered highly unusual or even ridiculous to consider, like running a very complicated code base through a transpiler to make it run on another tech stack. Generally speaking, this kind of comment would be a compliment. Sort of along the lines of "wow, that's absolutely crazy, you did something no one would have thoug…

I don't care what he's quoting and to see this as 'light-hearted' (without any further elaboration on the part of the OP) is extrapolation.

FWIW the comment in the movie is also a negative one.

> John Hammond: I don't think you're giving us our due credit. Our scientists have done things which nobody's ever done before...

> Dr. Ian Malcolm: Yeah, yeah, but your scientists were so preoccupied with whether or not they could that they didn't stop to think if they should.

> John Hammond: Condors. Condors are on the verge of extinction...

> Dr. Ian Malcolm: [shaking his head] No...

> John Hammond: If I was to create a flock of condors on this island, you wouldn't have anything to say.

> Dr. Ian Malcolm: No, hold on. This isn't some species that was obliterated by deforestation, or the building of a dam. Dinosaurs had their shot, and nature selected them for extinction.

> John Hammond: I simply don't understand this Luddite attitude, especially from a scientist. I mean, how can we stand in the light of discovery, and not act?

> Dr. Ian Malcolm: What's so great about discovery? It's a violent, penetrative act that scars what it explores. What you call discovery, I call the rape of the natural world.

Re: WordPress on .NET

#58
post #27

Earlier quoted context omitted.

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 othe…

CLR imposes lot of requirements for an assembly to run, that would definitely improve security esp. when comparing it to a interpreted language.

Ah ok. In terms of security I don't tend to think of memory safety, etc. especially since PHP processes die fast. I thought everyone was talking about SQL injections and the like so I was very confused

Thanks for clarifying!

Post reply on HN