Re: what's the difference and superior between gtk+ and gecko?
On Wed, Mar 4, 2009 at 8:16 PM, Thierry Chatelet <firstname.lastname@example.org> wrote:
> On 4 March 2009 13:07:42 Star Liu wrote:
>> On Wed, Mar 4, 2009 at 6:10 PM, Kelly Clowers <email@example.com>
>> > On Wed, Mar 4, 2009 at 01:04, Star Liu <firstname.lastname@example.org> wrote:
>> >> I want to develop a cross-platform desktop software by open source
>> >> platform and develop tools. I'm also a web developer so I'm interested
>> >> in gecko, and know that gecko is also able to build desktop
>> >> applications by XUL, not only display html files. But it seems gtk+ is
>> >> the more normal way to develop desktop applications, then what's the
>> >> superior of the two methods? thanks.
>> > This is off topic for this list, but since I am replying anyway...
>> > GTK and QT are traditional toolkits that are use for building apps.
>> > They are comparable to WinForms (.NET), MFC (Win), or AppKit
>> > (OS X).
>> > Gecko is technically the rendering engine at the heart of XULRunner,
>> > otherwise known as the Mozilla Platform. XUL is Mozilla's XML
>> > User interface Language, which is used for Firefox's "Chrome" -
>> > all the UI elements around the web page. XUL is rendered with
>> > for a Web dev to write an app, but I suspect you would have to
>> > write some amount of C++. In any case, you would have to learn
>> > how the JS wraps the C++ interface, which is rather different
>> > from the DOM.
>> > QT is written in C++ and GTK is C with GLib/GObject. I know
>> > you can write the bulk of a GTK program in Python; QT has
>> > QTScript (ecmascript) and some support for Python and
>> > Ruby, although I don't know if the majority of a QT program
>> > can be written with any of those.
>> > A XULRunner program will be larger (on disk and in memory)
>> > and slower than a GTK or QT program. A large, complex
>> > program will suffer less from this than a small or trivial
>> > program.
>> > XULRunner make the most sense if you are going to be
>> > rendering html or doing networking with your program anyway.
>> > It is worth noting that QT is a very complete framework, more
>> > so even than XULRunner, and it includes QTWebkit. In the
>> > just released QT 4.5, the Webkit is close to the version used
>> > in the new Safari 4 betas.
>> > GTK is more loosely joined, with many parts run as separate
>> > but allied projects (e.g. Pango, the text engine), and in some
>> > cases there are several projects that might fill a need, with
>> > none really official.
>> > All three are now available under the LGPL, and QT and
>> > Moz have some other license options.
>> > I suggest you check out the sites and maybe ask some
>> > specific questions (not "which is better") on the appropriate
>> > forums/mailing lists and decide which is better for you.
>> > http://developer.mozilla.org/En/XULRunner
>> > http://www.gtk.org/
>> > http://www.qtsoftware.com/
>> > Cheers,
>> > Kelly Clowers
>> thank you. My task is to make a "Optical Freedom Surfaces Design
>> Tool", for example, given a math expression for a surface, I will
>> display the 2D/3D picture of the surface, and do some other operation
>> around the surface.
>> I want to make this tool by fully free software, I think gecko is not
>> proper for my task, but I don't know how to choose between qt and
>> > --
>> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> > with a subject of "unsubscribe". Trouble? Contact
>> > email@example.com
> Lots of free software do that already. A single search gave me:
> Opencascade, k3dsurf, Genius....
thank you very much, it seems they are all good and just what i need,
i have to choose the best one again, do you have any idea?
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org