News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jack Diederich's Blog:
Comparing the Ruby/PHP/Python C Interpreters
March 17, 2010 @ 15:02:13

Recently on his blog Jack Diederich took a look at three different interpreters for Ruby, PHP and Python to see how they were implemented as compared to the language they're used in.

The other day I went poking around the Ruby and PHP interpreters (the current stable versions). I hadn't looked inside PHP since the 4.x series and Ruby I had never checked out. Like CPython the internals of both PHP and Ruby look something like their resulting language, but in C. For each interpreter I just compiled it and looked at how core types and extension types were implemented.

For PHP, he went with the PHP 5.2.13 release and talks about the compile process (a bit spammy), running the unit tests that come included and how the interpreter handles data types, core types and objects.

0 comments voice your opinion now!
compare interpreter ruby python


blog comments powered by Disqus

Similar Posts

Till Klampaeckel: Speeding up composer on AWS OpsWorks

Chris Shiflett's Blog: Blood, Sweat, and Swear: Terry Chay on Pro-PHP Podcast

Jani Hartikainen's Blog: Static/Dynamic typing sweet spot

Jani Hartikainen's Blog: 5 ways how PHP is better than Node.js

Padraic Brady's Blog: Any Behaviour-Driven Development Tools for PHP?


Community Events

Don't see your event here?
Let us know!


language security php7 interview opinion list api extension laravel5 series introduction framework library example community release version laravel voicesoftheelephpant podcast

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework