News for hackers. Stuff that matters.

kalelias

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.

Re:Wield Python's super() like a Jedi on Friday May 27, 2011 @03:52AM (#2590752)
Yeah, OO is too hard.
Re:Wield Python's super() like a Jedi on Friday May 27, 2011 @03:36AM (#2590721)
Thanks for the short explanation. I totally forget about python being MI.
Re:Wield Python's super() like a Jedi on Thursday May 26, 2011 @01:38PM (#2588666)
tl;dr

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

Re:You're Using JSON, Why not MessagePack? on Monday May 23, 2011 @03:28AM (#2575237)
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.
Re:You're Using JSON, Why not MessagePack? on Sunday May 22, 2011 @03:50AM (#2572871)
* 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.