Live data from Hacker News

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

hhvm.com

71–80 of 112 posts

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

#71
post #68

Earlier quoted context omitted.

I'll take a long function name over an incomprehensible one any day.

Expanding abbreviations doesn't improve clarity. E.g. XMLHttpRequest vs ExtensibleMarkupLanguageHypertextTransferProtocolRequest and ftp_ssl_connect vs FileTransferProtocol_SecureSocketLayer_Connect or if you want to get really ridiculous: MysqlndUhConnection::sslSet becomes MyStructuredQueryLanguageNativeDriverUserHandlerConnection::SecureSocketLayerSet

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.

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

#73

Earlier quoted context omitted.

While you're at it why don't you fix: (needle, haystack), (haystack, needle)? :P

With array functions, the needle is first. With string functions, the haystack is first. https://gist.github.com/salathe/1672543

This still doesn't convince me it was ever a beneficial design.

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

#76
post #68

Earlier quoted context omitted.

Expanding abbreviations doesn't improve clarity. E.g. XMLHttpRequest vs ExtensibleMarkupLanguageHypertextTransferProtocolRequest and ftp_ssl_connect vs FileTransferProtocol_SecureSocketLayer_Connect or if you want to get really ridiculous: MysqlndUhConnection::sslSet becomes MyStructuredQueryLanguageNativeDriverUserHandlerConnection::SecureSocketLayerSet

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...

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

#77

Earlier quoted context omitted.

While you're at it why don't you fix: (needle, haystack), (haystack, needle)? :P

With array functions, the needle is first. With string functions, the haystack is first. https://gist.github.com/salathe/1672543

Are you sure it's that consistent? I just feel like there's some function hiding somewhere that breaks this rule.

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

#78

Earlier quoted context omitted.

In what universe? Maybe to maintain wordpress applications, but thats just one product. I don't know that codes in php anymore.

We are literally in a thread about one of the biggest names in tech and something they invent to help with their massive PHP codebase.

Yeah, but Facebook is just a collection of Wordpress plugins.

See: http://wordpress.org/plugins/facebook/

;)

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

#79

Hmmm Laravel at 100%. This is now getting interesting!

Laravel is technically at 100%, however the unit tests are throwing a lot of warnings.

compare:

php 5.5: https://travis-ci.org/laravel/framework/jobs/15683979

hhvm: https://travis-ci.org/laravel/framework/jobs/15683980

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

#80

Earlier quoted context omitted.

I'll take a long function name over an incomprehensible one any day.

While you're at it why don't you fix: (needle, haystack), (haystack, needle)? :P

Or even use a proper IDE to code other than gedit/notepad !!
Post reply on HN