From: NoWhereMan <now...@fl...> - 2006-06-01 18:05:37
|
----- Original Message ----- From: "Youness Alaoui" <kak...@ka...> > The GUI could be a mix between different languages, I like Tk for its ease > of use, Qt is too crap to program and gnome, I don't know.. but usually > any GUI written in C/C++ is difficult to program (afaik, I could be > wrong). I don't want to put java in the debate because java's Achilles' > heel is the GUI (slow)... > the new CL is event driven, and we have the dbus extension for tcl we can > use... > now that we got the 0.96 in a new branch, I think we're going to be more > active! Hi :) First I must say I'm not spamming nor flaming as someone thought for a while on the forum :P Said this, seriously, if you wish (or just would like to consider) to change programming language and gui toolkit I think you may want to go for python; python is a well supported, well tested dynamic language, featuring good speed and nice gtk bindings (pygtk) e.g.: gajim is a gtk + python jabber client once again I don't love much its syntax (indentation has semantic? why on Earth?? :P ) but it's not that bad. :P Moreover, python is not merely interpreted but its compiled into bytecode on the fly before running (once it has been compiled the first time, if source files didn't change, then it won't be compiled anymore, but the previously generated *.pyc files will be run) so it (is supposed to :P ) gain points in speed. Many tools in Gnome are coded using python (for instance panel widgets, plugins for many apps, like epiphany), many graphic frontends (if I remember even synaptic is in python! and many ubuntu tools are, too, e.g. the update-manager, and many more I can't remember now) making it a good choice. As for the "toolkit war", gtk features "cross-integration" between platforms/DEs over qt (and sure over tk). In fact, while qt works nicely under windows and when working under kde, it feels alien in a gnome environment, while installing gtk-qt engine for gtk+ widgets will make your gtk application look as native qt apps in your kde, looking nice as always in gnome, and still it will look window-ish on windows http://gtk-wimp.sourceforge.net/ ). I'm not sure about OS X. As far as I know gtk programming is not far from tk (but I don't know so much of both), you "pack" your widgets and so on... ( pygtk example: http://www.pygtk.org/pygtk2tutorial/sec-PackingDemonstrationProgram.html ) here's the hello world: http://www.pygtk.org/pygtk2tutorial/ch-GettingStarted.html#sec-HelloWorld there are more lines of comment than real lines of code :P Let's then say I'm NOT a python programmer, nor I'm advertising python, nor I'm trying to sell you anything :P These are just suggestions... no! even less! just *thoughts*, so take them for what they are ;) as I said on the forum, if *I* had to think about starting a new project these are the considerations *I* would make, so I'm telling you this so that (maybe) you could find them useful :) bye :) |