Skip to main content


Is there a high-level, statically typed language in the #GTK ecosystem?

#Rust, while better than C is overly obsessed with memory to use it daily.

Looking at bindings
gtk.org/docs/language-bindings…

things like #JVM and #.NET are missing, leaving the choice of unhelpful type systems, or caring about unneeded details, or both... Not a good outlook for quickly building apps.

#gtk #rust #jvm
in reply to dorotaC

The C# bindings have recently been resurrected: gircore.github.io/

To be frank, Rust is perfectly fine; the underlying GObject types are reference counted, so it's fairly rare to have to care about their memory management. As for the rest of the Rust types, you have to care about ownership, not memory.

in reply to Emmanuele Bassi

@ebassi When I complain about Rust, I don't complain about the bindings, but instead about the language in general: you either wrap everything in Boxes and Vecs, or risk ending up with a reference hell where you have to tread carefully.

Sometimes I need a middle-of-the-road solution.

Thanks for the link, that could be interesting.