Re: Re[3]: [PHP-DEV] Design of the Zend Engine's Instruction Set

From: Date: Sun, 16 Aug 2009 16:33:30 +0000
Subject: Re: Re[3]: [PHP-DEV] Design of the Zend Engine's Instruction Set
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-45281@lists.php.net to get a copy of this message
On Sun, Aug 16, 2009 at 9:58 AM, Lothar Scholz<scholz@scriptolutions.com> wrote: > >>>> where the instruction encoding >>>> is much more complex then for instance for the >>>> JVM, Python, or Smalltalk. > > PB>> Yes, definitely. > > And again we see that complexity is just that complex but not > necessarily good. As all others outperform PHP in all basic > operations. Yes, by many times. Part of that might be the expense of PHP's weak typing and references. They cause most operations to be more expensive, even if they are not used in that particular operation. I did a performance analysis of PHP in a paper I have in submission. You might find it interesting (comment welcome): https://www.cs.tcd.ie/~pbiggar/wip-sac-journal.pdf. There was a POPL paper this year on Copy-on-write in PHP, which might be interesting to you. There was also a PLDI paper on the performance effects of PHP's memory allocator, which might also interest you. Thanks, Paul -- Paul Biggar paul.biggar@gmail.com

« previous php.internals (#45281) next »