
Great to hear about PHP. I hope you don't mind a question. Were you able to reuse the Python object model for your PHP interpreter, or is the PHP object model too different? Laura

On 06/01/2011 06:51 PM, Laura Creighton wrote:
Great to hear about PHP. I hope you don't mind a question. Were you able to reuse the Python object model for your PHP interpreter, or is the PHP object model too different?
Laura
No, we weren't. We're reusing the Zend frontend and running (fast) the resulting bytecode, therefore we need to accept its idiosyncrasies. The references are way too weird to match the Python object model, I think. Also, PHP is not as expressive as Python, therefore reusing all the cleverness of the PyPy object model might be overkill. Long story short, we're doing our best to match Zend's craziness while running faster. -- asuhan

On 06/01/2011 06:20 PM, Alex Şuhan wrote:
On 06/01/2011 06:51 PM, Laura Creighton wrote:
Great to hear about PHP. I hope you don't mind a question. Were you able to reuse the Python object model for your PHP interpreter, or is the PHP object model too different?
Laura
No, we weren't. We're reusing the Zend frontend and running (fast) the resulting bytecode, therefore we need to accept its idiosyncrasies. The references are way too weird to match the Python object model, I think. Also, PHP is not as expressive as Python, therefore reusing all the cleverness of the PyPy object model might be overkill. Long story short, we're doing our best to match Zend's craziness while running faster.
Is your implementation actually open source? Is it online somewhere? Cheers, Carl Friedrich

On Thu, Jun 02, 2011 at 00:29 +0200, Carl Friedrich Bolz wrote:
On 06/01/2011 06:20 PM, Alex Şuhan wrote:
On 06/01/2011 06:51 PM, Laura Creighton wrote:
Great to hear about PHP. I hope you don't mind a question. Were you able to reuse the Python object model for your PHP interpreter, or is the PHP object model too different?
Laura
No, we weren't. We're reusing the Zend frontend and running (fast) the resulting bytecode, therefore we need to accept its idiosyncrasies. The references are way too weird to match the Python object model, I think. Also, PHP is not as expressive as Python, therefore reusing all the cleverness of the PyPy object model might be overkill. Long story short, we're doing our best to match Zend's craziness while running faster.
Is your implementation actually open source? Is it online somewhere?
it's at https://bitbucket.org/asuhan/happy holger

On 06/02/2011 06:47 AM, holger krekel wrote:
Is your implementation actually open source? Is it online somewhere?
Great, thank you very much. Carl Friedrich
participants (4)
-
Alex Şuhan
-
Carl Friedrich Bolz
-
holger krekel
-
Laura Creighton