Re:Cross platform GUIs and Nim macros
by AsyncAwait on Friday March 24, 2017 @08:08PM
(#13953268)
I am looking for a cross-platform GUI library that feels native across Mac/Win/Linux and has well maintained bindings in a language that is not C++ - an impossible task it seems.
[ Parent
| on HN ]
GtkAda is a binding for Ada. Ada is like
Pascal but much more powerful. GTK is available for Linux, Windows and OSX. However, you could also use Qt and import from C++ to Ada.
http://www.adacore.com/gtkada/
http://compgroups.net/comp.lang.ada/gtkada-for-macos-x/14082...
Re:Cross platform GUIs and Nim macros
by AsyncAwait on Saturday March 25, 2017 @06:43AM
(#13954955)
That's a very interesting solution. I've been curious about Ada for a long time, but never found a reason to use it for anything - this might be it!
Thanks for bringing it to my attention.
Re:Cross platform GUIs and Nim macros
by david-given on Saturday March 25, 2017 @07:35AM
(#13955111)
A few years ago I did a writeup on the language. http://cowlark.com/2014-04-27-ada
tl;dr: there's a great deal to like about it, but its quirks are very quirky.
Thanks for pointing this out. It is really good and important to know Ada's weak points. OTOH I agree that there is a great deal to like.
Go + Qt and/or QML
Re:Cross platform GUIs and Nim macros
by AsyncAwait on Friday March 24, 2017 @09:45PM
(#13953623)
Yeah, https://github.com/therecipe/qt seems like the best option right now...
making bindings isnt too hard
Re:Cross platform GUIs and Nim macros
by AsyncAwait on Friday March 24, 2017 @09:44PM
(#13953619)
Quick and dirty bindings? No. Ones that actually take into account the idioms of the host language and build idiomatic abstractions around the raw bindings? Not necessarily hard, but requires a significant time investment.