Ruby vs Python?

Hi all,

Could someone offer me a comparison between Ruby and Python?

Me and one other person are thinking of starting a project and we haven’t
quite settled on a language. We’re just discussing ideas right now. It’s
a project to make a cross-platform Installer Maker for Linux, Mac and
Windows.

We have pretty much narrowed it down to Ruby or Python. I think that
we’re leaning towards the wxWindows toolkit. Also, we are thinking of
using Gentoo-style Ebuilds as the basis of the installer. Since wxPython
is already mature, and Gentoo’s Portage is implemented in Python, I guess
that we are probably leaning towards Python.

But I’d like to hear some thoughts and opinions first.

Thanks all.

···


Daniel Carrera, Math PhD student at UMD. PGP KeyID: 9AF77A88
.-"~~~"-. Weekly Smile:
/ O O \
: s : There are 10 types of people in the world…
\ _/ / Those who understand binary - and those who don’t.
`-.
_.-’

Daniel Carrera wrote:

Could someone offer me a comparison between Ruby and Python?

Me and one other person are thinking of starting a project and we haven’t
quite settled on a language. We’re just discussing ideas right now. It’s
a project to make a cross-platform Installer Maker for Linux, Mac and
Windows.

We have pretty much narrowed it down to Ruby or Python. I think that
we’re leaning towards the wxWindows toolkit. Also, we are thinking of
using Gentoo-style Ebuilds as the basis of the installer. Since wxPython
is already mature, and Gentoo’s Portage is implemented in Python, I guess
that we are probably leaning towards Python.

But I’d like to hear some thoughts and opinions first.

I don’t think there’s a meaningful comparison that would help you: the
two languages are similar enough in terms of features that you should
probably go with the one that makes you comfortable.

In your place I’d go with Python.

Dave

Daniel Carrera graced us by uttering:

Could someone offer me a comparison between Ruby and Python?

tim:/usr/bin>% diff ruby python
Binary files ruby and python differ
tim:/usr/bin>%

I’m not sure a much more objective comparison than this exists. :wink:

Me and one other person are thinking of starting a project and
we haven’t quite settled on a language. […] Since wxPython is
already mature, and Gentoo’s Portage is implemented in Python,
I guess that we are probably leaning towards Python.

So it seems.

But I’d like to hear some thoughts and opinions first.

It appears you and your associate would be foolish not to use
Python in this instance. Especially seeing as you have no
language preference, and all the tools you plan to use are native
or better developed in Python, your decision seems to have been
made already.

…but you might have more fun doing it in Ruby… :wink:

Cheers,
Tim Hammerquist

···


When in doubt, parenthesize. At the very least it will let some
poor schmuck bounce on the % key in vi.
– Larry Wall in the perl man page

Daniel Carrera dcarrera@math.umd.edu wrote in message news:20030811231735.GA2238@math.umd.edu

Hi all,

Could someone offer me a comparison between Ruby and Python?

(1)
http://www.ntecs.de/old-hp/s-direktnet/rb/download_ruby.html

(2)
http://www.cs.washington.edu/homes/kd/courses/pythonruby.pdf

Both easy to read and somewhat informative.

BTW: today I contacted two of the developers of wxRuby ( Kevin Smith /
Curt Hibbs ), they said they move the stuff to rubyforge after which
an alpha release is to be expected soon. In terms of deadlines they
were actually more concrete. But I do not dare to repeat them here,
on pain of confronting them with their own deadline in public.

If you use Dave Thomas’ one-click installer (VC++ build) you may in
the meantime play with Park Heesob’s Ruby 1.6.x / 1.8.x MsWin32 build
of wxRuby. I did, and most (but not all) of the widgets and demo’s
work.

(3)
http://sourceforge.jp/projects/wxruby/files/?release_id=4273#4273

Gerard

Have you considered AAP (Agide) project(s) written in (wx)Python?

Sincerely,
Gour

···

Daniel Carrera (dcarrera@math.umd.edu) wrote:

We have pretty much narrowed it down to Ruby or Python. I think that
we’re leaning towards the wxWindows toolkit. Also, we are thinking of
using Gentoo-style Ebuilds as the basis of the installer. Since wxPython
is already mature, and Gentoo’s Portage is implemented in Python, I guess
that we are probably leaning towards Python.

But I’d like to hear some thoughts and opinions first.


Gour
gour@mail.inet.hr
Registered Linux User #278493

We have pretty much narrowed it down to Ruby or Python. I think that
we’re leaning towards the wxWindows toolkit. Also, we are thinking of
using Gentoo-style Ebuilds as the basis of the installer. Since
wxPython
is already mature, and Gentoo’s Portage is implemented in Python, I
guess
that we are probably leaning towards Python.

But I’d like to hear some thoughts and opinions first.

I don’t think there’s a meaningful comparison that would help you: the
two languages are similar enough in terms of features that you should
probably go with the one that makes you comfortable.

In your place I’d go with Python.

A nice fair assessment from one of the world’s
biggest Ruby evangelists.

Does this remind anyone of the scene in the
ancient film Miracle on 34th Street where
the Macy’s Santa Claus directs a customer
to a competing store? :slight_smile:

Hal

···

----- Original Message -----
From: “Dave Thomas” dave@pragprog.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Monday, August 11, 2003 8:18 PM
Subject: Re: Ruby vs Python?


Hal Fulton
hal9000@hypermetrics.com

Daniel Carrera wrote:

8-<

I don’t think there’s a meaningful comparison that would help you: the
two languages are similar enough in terms of features that you should
probably go with the one that makes you comfortable.

In your place I’d go with Python.

Dave

That’s what I call a pragmatic programmer :slight_smile:

···

On Tue, 12 Aug 2003 10:18:42 +0900, Dave Thomas wrote:

Gerard A.W. Vreeswijk wrote:

If you use Dave Thomas’ one-click installer (VC++ build)…

Never one to let a nit go unpicked, I would point out that it’s Andy
Hunt (you know, the other Pragmatic Programmer) who is primarily
responsible for the Windows installer for Ruby :wink:

I’m more reminded of the Progressive Auto Insurance commercials.

-Kurt

···

On Tue, Aug 12, 2003 at 11:02:45AM +0900, Hal E. Fulton wrote:

----- Original Message -----
From: “Dave Thomas” dave@pragprog.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Monday, August 11, 2003 8:18 PM
Subject: Re: Ruby vs Python?

We have pretty much narrowed it down to Ruby or Python. I think that
we’re leaning towards the wxWindows toolkit. Also, we are thinking of
using Gentoo-style Ebuilds as the basis of the installer. Since
wxPython
is already mature, and Gentoo’s Portage is implemented in Python, I
guess
that we are probably leaning towards Python.

But I’d like to hear some thoughts and opinions first.

I don’t think there’s a meaningful comparison that would help you: the
two languages are similar enough in terms of features that you should
probably go with the one that makes you comfortable.

In your place I’d go with Python.

A nice fair assessment from one of the world’s
biggest Ruby evangelists.

Does this remind anyone of the scene in the
ancient film Miracle on 34th Street where
the Macy’s Santa Claus directs a customer
to a competing store? :slight_smile:

Hal


Hal Fulton
hal9000@hypermetrics.com

======= End of Original Message =======<

Gerard A.W. Vreeswijk wrote:

If you use Dave Thomas’ one-click installer (VC++ build)…

Never one to let a nit go unpicked, I would point out that it’s Andy
Hunt (you know, the other Pragmatic Programmer) who is primarily
responsible for the Windows installer for Ruby :wink:

How sloppish of me. My apologies to Dave and Andy. And, yes, I now know
for sure it’s Andy because I just downloaded his Windows Installer for
Ruby 1.8.0 final :slight_smile:

···

On Tue, 12 Aug 2003 12:16:27 -0500, Lyle Johnson lyle@knology.net wrote:

On Wed, 13 Aug 2003 00:35:14 +0900, “jrh” jrh@talis.com wrote:

Thank you for finding the time to fit doing this into your busy schedule.
I’m sure I speak for many when I say without the one-click windows installer
I would never have got past first base with ruby.
Best wishes,
Jon Hawkesworth

Second that.

Gerard A.W. Vreeswijk wrote:

If you use Dave Thomas’ one-click installer (VC++ build)…

Never one to let a nit go unpicked, I would point out that it’s Andy
Hunt (you know, the other Pragmatic Programmer) who is primarily
responsible for the Windows installer for Ruby :wink:

Oh, and don’t forget to try out Lyle’s FXRuby first :wink:

Read:

Newsgroups: comp.lang.ruby

···

On Tue, 12 Aug 2003 12:16:27 -0500, Lyle Johnson lyle@knology.net wrote:
From: Lyle Johnson lyle@users.sourceforge.net
Subject: Re: Why Fox
Date: Fri, 10 Jan 2003 17:56:59 -0600

Why are these old posts showing up?
This one was on: Date: 2003-08-12 10:16:28 PST

···

On Thursday, 18 September 2003 at 0:13:12 +0900, Lyle Johnson wrote:

Gerard A.W. Vreeswijk wrote:

If you use Dave Thomas’ one-click installer (VC++ build)…

Never one to let a nit go unpicked, I would point out that it’s Andy
Hunt (you know, the other Pragmatic Programmer) who is primarily
responsible for the Windows installer for Ruby :wink:


Jim Freeze

“Apathy is not the problem, it’s the solution”

Gerard A.W. Vreeswijk wrote:

Oh, and don’t forget to try out Lyle’s FXRuby first :wink:

Well, I thought that went without saying :wink: