Skip to main content


Using #GTK and #Libadwaita in #swift Attempt Number 2.

Instead of using GIR to generate the code, use hand-written bindings.
More work? - Yes

Full coverage? - No

Better API and easier to use? - Yes
This entry was edited (1 year ago)
in reply to JCWasmx86

You still probably want to generate the low level bindings even if you build a whole lot of custom API on top to fit in well with the idiomatic code in a specific language.

Handwriting is just a slog, and prevents your users from having access to the latest API as soon as it's available, and thus your workload increases with every cycle, until you burn out because nobody likes maintaining bindings.

We've been there already, which is exactly why we have gobject-introspection. 😅
Unknown parent

Emmanuele Bassi
My only hope is that my life mistakes serve as a teaching moment. 😂

But, in all seriousness: exploring and revisiting different solutions is good. The important thing is not to ignore the mistakes of the past, so you can make new and more exciting mistakes.
⇧