News for hackers. Stuff that matters.
Re:Why Go is elegant and makes my code elegant by mitchellh on Wednesday April 09, 2014 @05:21PM (#7562514)
A serious question (not saying you're wrong, I'm just genuinely curious): What issues have you run into with Go and Windows? I've been shipping libs and programs written in Go for Windows without issue.
Re:Why Go is elegant and makes my code elegant by kyrra on Wednesday April 09, 2014 @06:14PM (#7562855)
As for debugging, there were some comments about this recently on golang-nuts. A discussion about debugging[0]. Also Rob Pike saying GDB support is 'poor'[1] and there are bugs[2] that aren't a high priority to fix. Though, as many people pointed out on the mailing list, print statements and unit tests will cover 95% of your issues.

As for windows support, I should say that it's really just as good as the gnu toolchain support is on windows. There is no support for using Microsoft's toolchain on Windows. It can also take some work to make go apps not run within cmd terminal. I saw a blog post about it recently but I can't find it right now. But it also mentions things like the syscall[3] library docs on golang.org are actually for Linux, and it takes some steps to get them for other platforms, see the header comment here[4].

So Windows support is pretty good, but it is definitely not Google's focus. But if you've ever heard about what Windows is like within Google, there is a good reason for that.

[0] https://groups.google.com/forum/#!topic/golang-nuts/YG-APRPw...

[1] https://groups.google.com/forum/#!msg/golang-nuts/DS5ZGswXC6...

[2]https://code.google.com/p/go/issues/list?can=2&q=label%3AGDB

[3] http://golang.org/pkg/syscall/

[4] http://golang.org/src/pkg/syscall/syscall.go

Re:Why Go is elegant and makes my code elegant by mitchellh on Wednesday April 09, 2014 @07:23PM (#7563208)
I still don't see any problems with Windows support here. Debugging is a problem, actually, but other than that everything seems fine. The syscall interface gives you access to call any Windows API you want.

I wouldn't imagine writing a GUI app in Go, Go just isn't made for that and it would be silly since Microsoft's .NET tooling is so darn good. But Go for services and command line apps for Windows it has been fantastic.

Re:Why Go is elegant and makes my code elegant by abtinf on Wednesday April 09, 2014 @06:19PM (#7562879)
Go on 32 bit Windows is a unreliable. I wrote about it some time ago[0]. I don't think it will ever be fixed.

That said, I still use Go all the time.

[0] http://www.abtinforouzandeh.com/2012/04/08/Do-Not-Use-Go-For...

Re:Why Go is elegant and makes my code elegant by garfij on Wednesday April 09, 2014 @05:31PM (#7562586)
Sometimes I wish debugging worked on Windows, but generally speaking I've found Go makes unit testing natural enough that it's not a big deal.
Re:Why Go is elegant and makes my code elegant by jksmith on Wednesday April 09, 2014 @05:48PM (#7562692)
Same here. Good support in LiteIDE. Debugger works from LiteIDE. Been meaning to try this LightTable plugin (https://github.com/toqueteos/LightTable-Go) but haven't gotten around to it yet.
Re:Why Go is elegant and makes my code elegant by JoelHobson on Wednesday April 09, 2014 @06:04PM (#7562780)
Hey, I'm one of the contributors for that plugin. There's still a lot of work to be done, but I'm finding it fairly usable right now. If you get around to it soon, make sure to grab the plugin from Github and not the plugin manager. The version in the manager is very out of date. And pull requests are very welcome.

EDIT: For the record, I'm using it on Windows