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

RubySource.com: Confessions of a Converted PHP Developer: On Visibility and Privates

Christopher Jones' Blog: Casting PL/SQL arrays as REF CURSORS for Ruby (and PHP)

John Lim's Blog: Why Should PHP ever be taught in school?

Christopher Jones' Blog: Guide to PHP and Ruby/Ruby on Rails Sessions at Oracle OpenWorld 2007

DevShed: Manipulating String Literals with Interpreter Classes in PHP 5


Community Events

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


wordpress api unittest series library framework extension feature podcast language interview release introduction voicesoftheelephpant laravel laravel5 development opinion threedevsandamaybe community

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