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 22:41 UTC (Fri) by sbergman27 (subscriber, #10767)
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)

Well, I prefer Python.  So don't be surprised that the random thoughts I throw out here favor
it.  But I've used both. 

They are both dynamically typed languages and have much similarity with each other.  In the
Python culture being "explicit" is strongly preferred.  Ruby fans tend to like some
implicitness.  Ruby looks a bit more like Perl.  There are tons more libaries and support for
things like dbus, beagle, tracker, etc. for python. (Just do a "yum list" or whatever and grep
for ruby and python.  There *is* no comparison. (I find this to be a significant point in my
work.)  If you are doing web development, Rails is more popular than all the Python based
frameworks put together.  But in my opinion, Django toasts Rails for quality and good design.
Outside of web development, python is used a lot more and Python programmers are in a lot
greater demand.  Python runs circles around Ruby for speed.  But neither is a race horse.
Sometimes, the speed of the language is important, and sometimes not.  Ruby has a JVM based
runtime "on the way", but it's been "on the way" for years, and last I tried it, the
performance didn't seem that great.  With python, you have Iron Python (which is quite fast, I
hear) for .Net integrategration.  And Jython, which gives you access to the world of java
class libraries, but is always a release or two behind CPython.

Rails popularity cannot be denied.  (Just go to Amazon and type "Ruby On Rails" in the search
bar.)  But I suspect that if it *weren't* for rails, people would be saying "Ruby?  What's
Ruby?"


(Log in to post comments)

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

Posted Feb 9, 2008 17:22 UTC (Sat) by rfunk (subscriber, #4054) [Link]

Most of Ruby's libraries are in gems rather than in distribution 
packages, and gems don't seem to work well as distribution packages.

JRuby is pretty mature and fast now. And if you want .Net there's 
IronRuby too.

It's true that Rails has driven the rise of Ruby, but personally after 
being part of that wave I'm more impressed with Ruby than with Rails.

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

Posted Feb 9, 2008 17:27 UTC (Sat) by nas (subscriber, #17) [Link]

Some thoughts from someone who knows Python quite well. I think he's relatively unbiased, however.

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

Posted Feb 9, 2008 19:27 UTC (Sat) by and (subscriber, #2883) [Link]

I'm also more familiar with python, but the speed argument doesn't seem to 
be valid anymore. Benchmarking the same two scripts on contemporary 
interpreters on my decidedly non-contemporary 800MHz Athlon yields:

and@glotze:~> python -V
Python 2.4.4
and@glotze:~> time python sieve.py 300000 > /dev/null
real    0m1.121s
user    0m1.092s
sys     0m0.032s
and@glotze:~> ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux]
and@glotze:~> time ruby sieve.rb 300000 > /dev/null
real    0m1.579s
user    0m1.568s
sys     0m0.008s


(yeah, I know python 2.5 is out, but debian stable and gentoo still use 
2.4 per default) 

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

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

It's dated: Oct 25 2002, 3:59 pm 
Possibly a good template for subsequent research...

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