News for hackers. Stuff that matters.
Re:Show HN: Qt binding for Go with support for all major ope... by infogulch on Saturday April 08, 2017 @07:17PM (#14069597)
Can gc load a cgo plugin [1]? If so, could you build therecipe/qt into a plugin and load it at runtime to avoid being forced to use cgo?

E.g. your project has `type Qt interface {`, and the plugin exports a global symbol that can be asserted to that interface to use the library.

[1]: https://golang.org/pkg/plugin/

Re:Show HN: Qt binding for Go with support for all major ope... by therecipe on Sunday April 09, 2017 @12:34PM (#14073059)
It could probably work, but plugins currently only work on linux.