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
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)
Emmanuele Bassi
in reply to JCWasmx86 • • •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. 😅
Emmanuele Bassi
Unknown parent • • •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.