What would you rewrite in D?

Robert Clipsham robert at octarineparrot.com
Wed Oct 6 15:26:47 PDT 2010


On 06/10/10 23:03, Nick Sabalausky wrote:
>> Ok, for me GTK is native because I use Linux and a GTK based desktop.
>> I know that there's a native GTK port for OSX/Quartz and I thought GTK had
>> themes to look native on Windows?
>>
>
> It does make a vague attempt to look native on Windows, and is FAR better in
> that regard than, say, Swing, Winamp, Iron/Chrome, or pretty much anything
> from Apple. But there's still rather noticable differences in both look (the
> chunkiness I mentioned, just as one example) and in feel (particulary if
> you're using GIMP). It's kinda like gluing a picture of some wings overtop
> the logo on a Ferrari and saying "See, it's an Aston Martin!"

Platform wise, GTK looks appalling on OS X, acceptable, if non-native on 
Windows (I think there's a GTK theme that fixes this, not sure), and, 
well, you use it on linux. As for Qt, it uses the native GUI for all the 
platforms it works on (and if you don't like that there's a config tool 
to make it look as ugly as you like :)).

 From a developers standpoint, GTK is a lot more awkward to work with 
(whether you're using the C interface or the GtkD wrapper), and is 
generally not as nice to work with (based on a few hundred lines of code 
that did very little, I switched to Qt at that point). Qt on the other 
hand I've found a pleasure to work with from day 1, everything seems to 
work as expected, and typically needs far less code.

-- 
Robert
http://octarineparrot.com/


More information about the Digitalmars-d mailing list