1. 19
  1. 9

    I’m currently working on a GUI app using Go, and in the process I realized that this is one of the coolest use cases for the “single binary output” feature. No dependencies, no libraries to be installed. Everything that’s needed to run the app on the desktop is contained in that one single binary. The Go runtime, the accompanying dependencies, everything. Coming from the Python world, this is so refreshing.

    1. 8

      Aren’t you just describing static linking? This is an ubiquitous feature among compiled languages.

      1. 11

        “Coming from the Python world” :)

      2. 2

        What kind of GUI? OpenGL?

        1. 4

          Yep, at the moment I’m playing around with https://github.com/golang-ui/nuklear .

          There’s https://github.com/andlabs/ui as well which is really native, but it hasn’t been under development for a year now so not sure what the status there is.

          1. 2

            That’s pretty cool. I’ve used go-qml before and while it’s not particularly lightweight, it’s a pretty interesting framework.

        2. 1

          I didn’t care much for go when I first started using it, but it made the whole deployment pipeline soooo much easier. It’s crazy how much that helps and just sweeps so much stuff under the rug – if you had asked be beforehand, I would have said that the language itself would trump pretty much everything.

        3. 7

          The immense popularity of Go in China should not be a surprise given how well it handles Unicode natively, given the state of Unicode support in other competing languages.

          1. 4

            Huh. Go and I share a birthday.

            1. 10

              You’re only ten?

              1. 2

                Hahahaha birth day-of-year then?

              2. 1

                how many birthdays do you have?

                1. 1

                  Only two. I crawled back in the first time, but the second time my mom was ready with a net.