Golang for Desktop Applications

Hi Kevin,

I assume you are asking about GUI applications for desktop computers. Right now, Go supports text-based applications directly, and if you want a graphics toolkit/framework, you will have to look into third-party packages.

I haven’t tried it yet, but here’s one I find very interesting: https://github.com/therecipe/qt

It’s Go bindings for Qt (https://www.qt.io/), which is (arguably?) the best way to develop cross-platform GUI desktop applications. And look at the comments on recent updates: It looks like support for WebAssembly is being added! I don’t get excited easily, and to me, this is OMG - Cool!

This web page is about using C/C++ with Qt and WebAssembly, but look what people have done with Qt’s WebAssembly support:

All of this stuff is very new! So don’t expect perfection yet. If you try it and get anything to work, please report back and let us know!

1 Like