On Sun, Sep 26, 2010 at 11:57 AM, Philipp Überbacher
<hollunder(a)lavabit.com>wrote;wrote:
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
For C (and C++) interfacing, python has a variety of styles ranging across
- the basic (builtin) C interface
- ctypes
- pyrex and cython
- swig, sip
- SCXX, PyCXX,
- Boost
(I think Ive missed a couple :-)