Excerpts from John List's message of 2010-09-25 22:37:58 +0200:
On 09/25/2010 02:21 PM, Joel Roth wrote:
...
I thought I would like to learn some other language, either
python, ruby, Tcl or Forth, but usually I have some
practical problem to get done, and the more familiar
language gets used.
I'm in the same situation. I've boiled it down to choosing between
learning Python or learning Ruby.
So ... we've been talking about Perl and Python. Does anyone have any observations on
how Ruby fits (or doesn't) into this picture?
-Can it be used for scripting (the original subject)?
-Is it as C-compatible as Python?
Thanks,
John
Hi John,
just to mention another language, even less known than ruby: Lua
I've only dabbled in a couple of languages, and so far I like Lua best,
it's simply fun to write, simple stuff is simple to do, for hard stuff
there are usually libraries to help you. It's a small language and you
build stuff with only a few language features, which is the beauty of
it, imho.
It was designed to be embedded in C programs to script those and as a
configuration language, its C interface is said to be better than
pythons. You can use it on its own as well, but for simple scripts bash
likely has its benefits (over probably every other language).
Same as Joel uses Perl, I use Lua to develop an ecasound frontend (but
it's not generally useful yet).
Regards,
Philipp