Re: Admin tools - idea from left field
On Wed, Feb 10, 1999 at 03:42:02PM -0800, Brent Fulgham wrote:
>
>
> > C. As far as the language is concerned, no, it's not great, and I
> > would rather use Python. Python also has the advantage that you can
> > more easily do data structure kinds of things without just resorting
> > to hash tables... (well, internally, they are hashes, but that's not
> > what the user sees).
> Can't you imbed python in other programs rather easily? I haven't finished
> reading the python book myself, but I recall from the intro that one of
> Python's great features is the ability to be imbedded...
Yes, you can do this with most scripting languages. However, some
make it easier than others... Perl's C API, for instance, has never
seemed all that elegant to me. Tcl's, on the other hand is very
simple, straightforward, and fun to work with. I think Python's isn't
quite as simple as the Tcl one, but it is fairly clean, and, I think,
aims to do a bit more (you can create objects, methods and such with
it). Python, I think, aims a bit more to be extendable in C, meaning
that you write modules in C, and load them into a mostly Python
system. Tcl seems equally at home being loaded into a mostly C
program, or with C extensions.
As I recall, our Debian Python maintainer, Gregor Hoffleit, was
thinking about building Python as a shared object - if I'm not
mistaken, he and Guido exchanged a few messages on the python
newsgroup regarding this, and Guido didn't seem really interested in
Python as a shared object (probably correctly) thinking that this
application of Python is something that would be used by a distinct
minority of people..
Gregor, any comments (if you are tuned in?:-)
Anyway...
--
David Welton http://www.efn.org/~davidw
Debian GNU/Linux - www.debian.org
Reply to: