I was wondering if it would be possible to port the gtk gui framework to go(the language) with the swig wrapper? Or am I just living in a fantasy world?
+1
A:
Technically, yes. It looks like SWIG support for Go is limited right now.
The real problem with simple SWIG wrappers is the ugly details leak through. The produced interface would need a layer on top of it in order to provide "Goish" behavior, especially in regards to garbage collection and interfaces.
Yann Ramin
2010-10-28 03:54:35
Ok, thank you. I had seen some other people port a library that contained a window function, so I thought that seeing as how you can port that window function, then maybe you could port an entire gui framework.
a sandwhich
2010-10-28 04:04:27
A:
Yes, it's possible. SWIG isn't even strictly necessary, but it does make the process more automatic.
There's already a GTK binding for Go in progress here: http://github.com/mattn/go-gtk
Evan Shaw
2010-10-28 13:45:29