dontpanic92 / wxGo

Golang wxWidgets Wrapper
Other
403 stars 51 forks source link

Question: using with recent SWIG and Go #73

Open mar1ged opened 4 years ago

mar1ged commented 4 years ago

From an outside standpoint I have the impression that some of the tricks you had to use might be absolete when using wxgo/wxwidgets in combination with SWIG 4.x and Go 1.3

Can you share your expertise in this ?

dontpanic92 commented 4 years ago

I didn't take a close track to the recent versions of SWIG and Go. Just now I took a look the release notes on SWIG and Go but it looks like few changes are related to the tricks we did for wxGo.

Basically our private fork of SWIG are focused on reducing the wrapper size and provide possible easier lifetime management, together with some other minor changes. It looks like the development of the Go backend in SWIG is in a very slow cadence and still missing this two features that we want.

Another trick for Golang is the workaround of "Invalid flag". This can be eliminate for the latest golang I believe

mar1ged commented 4 years ago

Thanks for sharing your insights.