On Wed, 6 Feb 2002 [EMAIL PROTECTED] wrote:

> Tzafrir Cohen <[EMAIL PROTECTED]>:
> > I also believe that both QT and gtk have python bindings. Though I realise
> > that learing a new language may be not the ideal "rapid prototyping" ;-)
> > (No flames, on perl vs. python, please)
>
> You are right. I am trying to avoid learning a new language just for this
> project. OTOH, I may still opt to learn one, but that is beside the point.
>

You should not be afraid of learning C or C++, because it usually proves
very useful when working in a UNIX environment. While Perl is usually more
useful on a day to day basis, grasp of C/C++ can very much help in
understanding code that is written in it, as well as in the understanding
the way the entire system functions.

But back to the issue: IMO, writing GUI in C/C++ is very unscalable.
Code of a properly designed GUI is not hard to write, but takes a long
time to write correctly. Since most GUI is not very time consuming and can
be written in Perl/Python/Ruby etc., it makes much more sense to use either
one of them.

The Perl/Qt and Perl/KDE bindings are no longer maintained and the scripts
that were used to generate the bindings from the C++ header files were not
made available to the public. Thus, they are non-existent until someone
decides to re-write those scripts again. From a talk I had with Stephan
Kulow (a very prominent KDE developer), the KDE crew does not seem to be
disturbed by the fact that there is a very lacking support for languages
other than C++ in Qt/KDE.

Gtk+/GNOME OTOH boasts an impressive language matrix:

http://erik.bagfors.nu/gnome/languages.html

Perl is a good a choice as any as it fills its entire row. However, like
Tzafrir noted, I'm not sure it is available for Gtk 1.3.x yet. (not to
mention that Gtk 1.3.x is still beta). And I don't know how well Perl
supports Unicode and Pango.

Right now the best choice seems to be writing it in C/C++ using either Qt
3.0 or gtk+ 1.3.x. Or in Motif using Eli Marmor's patches... ;-)

Just my 10 agoroth,

        Shlomi Fish

> Arie Folger
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>



----------------------------------------------------------------------
Shlomi Fish        [EMAIL PROTECTED]
Home Page:         http://t2.technion.ac.il/~shlomif/
Home E-mail:       [EMAIL PROTECTED]

"Let's suppose you have a table with 2^n cups..."
"Wait a second - is n a natural number?"


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to