LWN.net Logo

Interview: Mark "Markey" Kretschmann (Not the Gentoo Weekly News)

Interview: Mark "Markey" Kretschmann (Not the Gentoo Weekly News)

Posted Feb 8, 2008 23:13 UTC (Fri) by zooko (subscriber, #2589)
In reply to: Interview: Mark "Markey" Kretschmann (Not the Gentoo Weekly News) by tjc
Parent article: Interview: Mark "Markey" Kretschmann (Not the Gentoo Weekly News)

disclaimed: I'm biased towards Python.

Ruby may be a better language.  Or it may not be -- I'm not entirely sure.  But Python has a
richer library of mature tools.  This is the deciding factor for me, currently when I choose
to start a new coding project.

I don't just mean the Python Standard Library, although it is good.  I mean also the CPython
interpreter, and the many, many mature, high-quality, well-tested open source Python tools out
there such as the Twisted framework, and, well, just too many to name.  See
http://pypi.python.org for starters, or just type "<PROGRAMMING TASK YOU WANT TO DO> Python"
into google.

Note that part of the reason for this cornucopeia is Python's long tradition of re-using C/C++
code instead of rewriting it into Python code.  Also, of course, the several mature, high
quality tools to ease and automate re-use of C/C++ code.  ;-)

Regards,

Zooko


(Log in to post comments)

Interview: Mark "Markey" Kretschmann (Not the Gentoo Weekly News)

Posted Feb 9, 2008 0:32 UTC (Sat) by njs (subscriber, #40338) [Link]

> Also, of course, the several mature, high quality tools to ease and automate re-use of C/C++
code.

Indeed.  Ctypes is amazing, and Pyrex, a revelation.

Interview: Mark "Markey" Kretschmann (Not the Gentoo Weekly News)

Posted Feb 9, 2008 14:57 UTC (Sat) by Cato (subscriber, #7643) [Link]

Of course, Perl's CPAN library of modules is still far larger than either Python or Ruby's -
and with Perl 6 it should be easier to use such Perl modules from other languages.   It's not
just the existence of libraries with Perl, it's being able to type 'cpan -i Useful::Module' on
any Linux or Windows box - or in the case of Ubuntu/Debian the most useful ones are already
packaged.  I think some other languages are doing this as a result of Perl's success with CPAN
- the Python Package Index (PYPI link) is a good example. 

 

Interview: Mark "Markey" Kretschmann (Not the Gentoo Weekly News)

Posted Feb 9, 2008 17:45 UTC (Sat) by zooko (subscriber, #2589) [Link]

Yes, these are some of the most exciting parts of the Python world to me right now:

  • The Python Package Index
  • the easy_install tool which does the same thing as your example: "cpan -i Useful::Module", on multiple operating systems
  • setuptools, which allows you to programmatically specify dependencies on other packages, and which will hopefully grow to replace GNU Make for my Python projects

These were certainly inspired by CPAN and by Ruby's "rake" tool.

Interview: Mark "Markey" Kretschmann (Not the Gentoo Weekly News)

Posted Feb 11, 2008 14:26 UTC (Mon) by smitty_one_each (subscriber, #28989) [Link]

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds