Hacker News new | ask | show | jobs
by pjmlp 1083 days ago
Hardly any different from going with C and C++, which could have been wrapped via CGO.
2 comments

Writing c and go, and using c bindings is pretty painful compared to just writing go. It's technically possible Just like being technically correct, it's the worst kind of correct/possible.
Just like JNI, if only there were a couple of companies that would embrace JNI to create IDEs...
sorry, in theory it's okay, in practice it's much more difficult.

-- edit -- speaking of Qt

CGO supports C++.
Qt framework is not about C++. It creates another language inside with different mechanics. And most important, different memory management patterns. Sometimes the objects are managed by Qt parent object, sometimes not. I wouldn't commit to a project that would create a GUI in Qt using CGO.