D Binding to GUI libraries [was Interesting Observation from JAXLondon]

Russel Winder russel at winder.org.uk
Sat Oct 20 09:25:58 UTC 2018


On Sat, 2018-10-20 at 08:52 +0000, Gregor Mückl via Digitalmars-d
wrote:
> 
[…]
> I periodically look at how I can make use of D for small 
> projects. Most often, I shy away because I want to build a GUI 
> and none of the libraries that I can find look mature and well 
> maintained enough to put my faith in. For C++ there's Qt, which 
> is *phenomenally* good (despite some warts), but there's been at 
> least half a dozen attempts at creating D bindings for that, all 
> in various states of completion/negligence.

GtkD works very well for me. But I guess GTK+ has a reputation of not
working on Windows and macOS. Once a reputation is established it is
nigh on impossible to refute.

Qt appears to be C++ battering ram against all other languages other
than Python. Go has failed to get a really good binding, except perhaps
to QML. D has failed to get a really good binding to Qt or QML. I guess
I should check out the Rust binding, except that I am in the gtk-rs and
gstreamer-rs camp these days on all things GUI.

D has always had an excellent story in the "connect to C linkage
libraries", has any of the work in D on C++ linkage over the last few
years changed the landscape so that a D binding for Qt and QML could be
as good as the GtkD binding is to GTK+? 

[…]
-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20181020/eb9d5757/attachment.sig>


More information about the Digitalmars-d mailing list