D language for Graphical User Interface and Cross Platform Development

Ernesto Castellotti erny.castell at gmail.com
Thu Jun 18 17:25:52 UTC 2020


On Wednesday, 17 June 2020 at 10:33:36 UTC, BoQsc wrote:
> It seems that by using gtkd project to build your GUI 
> application it requires a preinstalled runtime that weights 
> around 40mb, for Windows operating systems. 
> (https://gtkd.org/download.html)
>
> A Dlang UI GUI project by Buggins seems to be deprecated and 
> even a simple example could not be run anymore. 
> (https://github.com/buggins/dlangui)
>
> I'm not aware of any other serious project that could 
> efficiently provide a way to build a stable GUI.
>
> What should I do if I want to write a cross-platform 
> application with graphical user interface in D? Should I wait 
> until there will be better maintained libraries listed on the 
> (https://wiki.dlang.org/GUI_Libraries) or there are other ways 
> to create and build a GUI D language application?
You can link the GtkD interface statically (if you use dub it 
already does) and load the GTK DLL at runtime which you can 
distribute directly within your program folder.


I don't think size is a problem, any software that uses gtk or qt 
on Windows requires about the same amount of space


More information about the Digitalmars-d mailing list