Live data from Hacker News

HipHop VM: now at 98.5% PHP framework parity, 16% faster

hhvm.com

81–90 of 112 posts

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#81
post #66
post #58

Earlier quoted context omitted.

Short names weren't really a mistake when K&R made them.

I find the juxtaposition between PHP's short function names taken from C, and things like T_PAAMAYIM_NEKUDOTAYIM to be rather funny.

recently(not quite) there was a talk in php internals about changing that.

read this:

http://philsturgeon.co.uk/blog/2013/09/t-paamayim-nekudotayi...

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#82
post #36

I wonder how hard it would be (for me) to take php and change all function names to be consistent. All PascalCase and spelled out (no awful abbreviations). Then download the documentation and change it there as well.

This was making the rounds recently: http://news.php.net/php.internals/70691 Basically, if you use PHP you're part of the largest computer joke in history.

"PHP you're part of the largest computer joke in history" <-- Good Luck with Scaling Ruby/Python

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#83
post #31

I wonder how hard it would be (for me) to take php and change all function names to be consistent. All PascalCase and spelled out (no awful abbreviations). Then download the documentation and change it there as well.

Ahh yes, take the most criticized aspect of Java -- the obscene verbosity -- and cram it into PHP. Sounds wonderful.

Ironically, the obscene verbosity it is also a common trait of "not very smart" people.)

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#84
post #72
post #49

Nice! CodeIgniter is at 100% now. I've been contemplating the switch to hhvm for my startup, now it seems likely.

Don't take this the wrong way, but you're actually developing new applications with CodeIgniter? Ugh...

Yeah, Laravel is pretty much the modern framework for people who can't divorce themselves from CodeIgniter.

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#85

Earlier quoted context omitted.

PHP has so many more problems than that, though. I don't think it's worth the effort. It'd be like replacing the rotting floorboards of a house that has mold spores in every corner and a caved-in roof.

wow, you really hate PHP. That that mold infested roof caved in house runs a great deal of the web.

It does. COBOL also runs a large number of major banking and government infrastructures. Should we be working on a revision to COBOL with prettier syntax?

I don't hate PHP, but I've written, looked at, and audited enough of it to come to dislike it.

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#86
post #72

Earlier quoted context omitted.

Don't take this the wrong way, but you're actually developing new applications with CodeIgniter? Ugh...

Yeah, Laravel is pretty much the modern framework for people who can't divorce themselves from CodeIgniter.

As someone who can't stand PHP, Laravel is pretty much the only thing that's made me feel like the language has some worth. It feels very similar to the Python and Ruby frameworks I'm used to, and is actually pretty nice to read.

Now if only the rest of the PHP devs stuck in 2005 would switch to it...

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#87
post #76

Earlier quoted context omitted.

You're misrepresenting his position pretty badly. XMLHttpRequest is a comprehensible name. "MysqlndUhConnection" much less so. Not being very familiar with PHP, I don't have any pet examples of inconsistent names to offer corrections for that might correspond with what he's actually talking about.

yeah , some people think it's easy to understand what strstr does...

...like everyone who has learned C or its derivatives. It's just part of the vocabulary of the language. You could as well ask "what's a list comprehension" in Python, for example.

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#88
post #81
post #66

Earlier quoted context omitted.

I find the juxtaposition between PHP's short function names taken from C, and things like T_PAAMAYIM_NEKUDOTAYIM to be rather funny.

recently(not quite) there was a talk in php internals about changing that. read this: http://philsturgeon.co.uk/blog/2013/09/t-paamayim-nekudotayi...

Well, so long as they don't fix the parsing of octal int literals that is okay. Loosing both of my favourite offhand complaints would be rather disappointing. ;)

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#89
post #66
post #58

Earlier quoted context omitted.

Short names weren't really a mistake when K&R made them.

I find the juxtaposition between PHP's short function names taken from C, and things like T_PAAMAYIM_NEKUDOTAYIM to be rather funny.

Never seen that one, but I think it's cute.

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#90
post #53
post #45

Earlier quoted context omitted.

Are they using HHVM? The blog post is about the old FB HpHp (PHP to C++ translator).

No. This blog post is about HHVM. The PHP to C++ translator was removed from the HHVM source tree back in February. (I'm an HHVM team alum.)

It was a reply to a now deleted comment!

It was about social network from spain. He provided a link to an article that talked about the old HpHp (HipHop C++ translator). I pointed it out, and then the guy deleted the comment entry, as it seems.

(edit: this was the article the other guy posted yesterday: http://corporate.tuenti.com/en/dev/blog/the-epic-tale-of-mov... )

Post reply on HN