guido

By anders pearson 30 Jan 2002

last night, Guido van Rossum, the creator of the python scripting language, came to talk to the new york perlmongers.

<p>since python and perl are so similar, there&#8217;s a lot of bad blood between the fans of the two languages (programmers are weird. the more miniscule a detail is, the more rabidly they&#8217;ll argue over it). surprisingly though, everyone was quite civil.</p>

<p>Guido gave a quick introduction to python and then just answered questions for a couple hours. he spent a lot of time explaining the reasoning behind python&#8217;s approach to programming. he was very diplomatic about it, acknowledging a few areas where perl was more developed than python and very delicately pointing out areas where python had advantages. </p>

<p>since python and perl have so many things in common, it&#8217;s hard to pin down many areas where one or the other has a clear advantage. pretty much anything that you can do quickly and easily in perl, you can do quickly and easily in python, and vice versa so it comes down to which one you are more familiar with. one thing that i learned python is good for is as a wrapper for C/C++ libraries. perl has facilities for this but they are notoriously ugly and difficult. python apparently does it fairly painlessly. </p>

<p>there was also a lot of talk about python&#8217;s internals: its object model, capabilities for introspection/reflection, its security model, and its nice exception architecture (one of the things that i really missed in perl when i moved from java). since <a href="http://www.yetanother.org/dan/">dan</a> was there again, there was also a lot of talk about parrot, the bytecode language and vm that&#8217;s intended to bridge perl and python (and maybe java too).</p>

<p>all in all, i doubt i&#8217;ll give up perl anytime soon but Guido has piqued my curiousity enough that i&#8217;d like to at least become mildly competent with python. if nothing else, it looks like an excellent teaching language.</p> 

Tags: python perl guido van rossom