Better HN
topnewbestaskshowjobs
Log inSign up

kalelias

0 karma · joined May 22, 2011 (15y ago) · 6 submissions

Submissions

comment 15y ago · link · parent

This Article is an very good example how particular correct information can create an biased view.

@google

Please remove the article or replace it with an more accurate and complete one. If you really care about PHP performance to make the world a better place, hire some skilled guys that can help the development of PHP core and libraries. The side effect is that those guys will write better articles.

Thanks.

comment 15y ago · link · parent

Yeah, OO is too hard.

comment 15y ago · link · parent

Thanks for the short explanation. I totally forget about python being MI.

comment 15y ago · link · parent

tl;dr

Just looks like super/parent like in other languages. Did i miss something from not reading this?

comment 15y ago · link · parent

What i am saying is that as long you try to "improve" your project with marginal "improvements" you will fail at anything. For the majority, things like message pack is micromanagement. It will cause a lot of work and noise with minor improvements. The tradeoff is too high, for the majority. The minority are people who already have shit done. That are people who are actually saving alot of money with squezing the last bits of performance out of something. my viewpoint is probably out of scope because its wholistic, but thats where to start.

comment 15y ago · link · parent

* fucking use JSON

* if needed: use snappy for blob storage (ie for key value stores)

* if you have an need for very high perfomance in your application that is mature to some degree, evaluate some binary protocols or compression and see how they perform.

the bad thing is that i already see full stack frameworks popping up "now with <binary-protocol-xy>" and everybody will scream "YEAH!". Most YEAH!-sayers will seriously be butt-hurt by the plain fact that it isn't human readable. Switching between JSON/binary won't matter, there will be situations that are not debugable.

Trivial performance optimizations won't fix a broken design.