Ruby versus the world

Hello!

I might have missed past discussions, but where may I find comparisons
between Ruby and the rest of the major programming languages out there?

If there are none, how about we make one?

Remember the key to good writing: SHOW DON’T TELL!

I hope we can generate some good info here :wink:

All the best,
Kyrre

On Jun 19, 2006, at 9:52 AM, Kyrre N. wrote:

I hope we can generate some good info here :wink:

All the best,
Kyrre

“10 Things Every Java Programmer Should Know About Ruby” comes to
mind (ruby-doc.org). There’s also a project (can’t remember the name
offhand) which is attempting to catalog how to accomplish common
operations in a wide array of languages.

But I think a lot of what you’ll find out there is more statistical
and dry than what you might be looking for. Judging from the
aggressive subject of this thread.

What if we turned the “10 things…” idea into a series? Have the
ruby community submit articles for their 2nd favorite programming
language. I like the idea. I might start drafting something like
that for PHP->Ruby converts like myself.

-Mat

On 6/19/06, Kyrre N. [email protected] wrote:

Hello!

I might have missed past discussions, but where may I find comparisons
between Ruby and the rest of the major programming languages out there?

If there are none, how about we make one?

Remember the key to good writing: SHOW DON’T TELL!

We’ll, there’s some content going up on the new ruby site that might
be similar to what you’re looking for:
http://new.ruby-lang.org/en/documentation/ruby-from-other-languages/

—John

On 6/19/06, Mat S. [email protected] wrote:

There’s also a project (can’t remember the name
offhand) which is attempting to catalog how to accomplish common
operations in a wide array of languages.

PLEAC

Comes nicely syntax-highlighted (highlit?) too!

—John

On Jun 19, 2006, at 1:43 PM, John G. wrote:

On 6/19/06, Kyrre N. [email protected] wrote:
We’ll, there’s some content going up on the new ruby site that might
be similar to what you’re looking for:
http://new.ruby-lang.org/en/documentation/ruby-from-other-languages/

You guys are always one step ahead of me… :frowning:
-Mat

On Jun 19, 2006, at 12:48 PM, John G. wrote:

On 6/19/06, Mat S. [email protected] wrote:

There’s also a project (can’t remember the name
offhand) which is attempting to catalog how to accomplish common
operations in a wide array of languages.

PLEAC
http://pleac.sourceforge.net/

Warning: I consider PLEAC to be highly Perl-centric and not well
suited to language comparison. This is just my opinion.

John wanted a link to it on the new Ruby site, but I killed it being
the mean editor I am. :wink:

James Edward G. II

On Jun 19, 2006, at 1:43 PM, John G. wrote:

Remember the key to good writing: SHOW DON’T TELL!

We’ll, there’s some content going up on the new ruby site that might
be similar to what you’re looking for:
http://new.ruby-lang.org/en/documentation/ruby-from-other-languages/

After looking at this a bit more, it makes me think that user
testimonials of some kind would be great to include on these pages.
I have some things that I’d add to the PHP section, but I probably
shouldn’t edit the content myself. Maybe a “Tips from former X
developers” section at the bottom, or something.
-Mat

On Tue, 20 Jun 2006, M. Edward (Ed) Borasky wrote:

But what if Ruby is your second-favorite programming language?

I will admit that I really miss programming in Forth. I also miss doing
embedded control systems. Sigh.

– Matt
It’s not what I know that counts.
It’s what I can remember in time to use.

Mat S. wrote:

What if we turned the “10 things…” idea into a series? Have the
ruby community submit articles for their 2nd favorite programming
language. I like the idea. I might start drafting something like
that for PHP->Ruby converts like myself.
But what if Ruby is your second-favorite programming language?


M. Edward (Ed) Borasky

On Tue, 20 Jun 2006, M. Edward (Ed) Borasky wrote:

Well, if the vmgen-based Ruby virtual machine ever gets off the ground,
perhaps you can get back some of that old Forth joy. :slight_smile:

Quite a bit of Koichi’s design reminded me of Forth virtual machines.
The
computer industry has be stagnating with single stack CPUs thanks to C.

– Matt
It’s not what I know that counts.
It’s what I can remember in time to use.

Matt L. wrote:

On Tue, 20 Jun 2006, M. Edward (Ed) Borasky wrote:

But what if Ruby is your second-favorite programming language?

I will admit that I really miss programming in Forth. I also miss
doing embedded control systems. Sigh.
Well, if the vmgen-based Ruby virtual machine ever gets off the ground,
perhaps you can get back some of that old Forth joy. :slight_smile:

http://www.nongnu.org/carbone/README.html

– Matt
It’s not what I know that counts. It’s what I can remember in time to
use.


M. Edward (Ed) Borasky

On 6/19/06, M. Edward (Ed) Borasky [email protected] wrote:

perhaps you can get back some of that old Forth joy. :slight_smile:

Carbone Ruby VM -- README

Or perhaps HLVM?:

Phil

On 6/19/06, Kyrre N. [email protected] wrote:

I hope we can generate some good info here :wink:

There’s this one I saw on reddit today:

http://www.timestretch.com/FractalBenchmark.html

It compares a fractal program written in several languages.

BTW: anyone know what’s going on with the Vectorized Io version?
Couldn’t we create a vectorized Ruby version as well?

Phil

On Jun 19, 2006, at 6:52 AM, Kyrre N. wrote:

Hello!

I might have missed past discussions, but where may I find comparisons
between Ruby and the rest of the major programming languages out
there?

I liked this:

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

– Elliot T.

M. Edward (Ed) Borasky wrote:

“Then shalt thou count to three, no more, no less. Three shall be the
number thou shalt count, and the number of the counting shall be three.
Four shalt thou not count, neither count thou two, excepting that thou
then proceed to three. Five is right out. Once the number three, being
the third number, be reached…”

(sorry)

Matt L. wrote:

On Tue, 20 Jun 2006, M. Edward (Ed) Borasky wrote:

Well, if the vmgen-based Ruby virtual machine ever gets off the ground,
perhaps you can get back some of that old Forth joy. :slight_smile:

Quite a bit of Koichi’s design reminded me of Forth virtual machines.
The computer industry has be stagnating with single stack CPUs thanks
to C.
Ah, but the Forth folks are very religious about there being exactly two
stacks (not counting a floating point stack, which makes three).


M. Edward (Ed) Borasky