Live data from Hacker News

Go 1.4 is released

blog.golang.org

11–20 of 265 posts

Re: Go 1.4 is released

#11
post #5

Can someone give me a compelling reason to start programming in Go? My default language at the moment is C, or C++.

A really crisp way to model concurrency. Most real world performance problems stem from the inability to model concurrency correctly.

I also found it's faster to read the library code than the docs. A lot of thought has gone into making the language and library clean and easy to understand.

Re: Go 1.4 is released

#14
post #10
post #5

Can someone give me a compelling reason to start programming in Go? My default language at the moment is C, or C++.

Once Go is installed, I can make a simple web app from scratch that displays parameters from the URL or request body in just over 95 seconds with Go, using only the standard library. I can cross-compile it for another OS and architecture, then deploy a single binary file without worrying about dependencies, dynamic linking, or segfaults. Try doing that in C/C++. Maybe a better comparison is to more systems-level appl…

And if you want to use external code, you can download it with and integrate it into your main package in about 90 seconds (go get + go install). In order to learn to use it, godoc is there.

Re: Go 1.4 is released

#15
post #13

Just to make sure I'm not missing it: fsnotify didn't make it into Go 1.4, right? 1.5 maybe? :)

It didn't make it in, but there's no real strong moves for it to be in the standard library anyway. It works well enough in a go-gettable package.

Re: Go 1.4 is released

#17
post #16

Doesn't look like it's been pushed to the canonical git repo or Github just yet: https://go.googlesource.com/go https://github.com/golang/go/releases Aside from that, this is yet another great release! :)

It will be soon. I'm working on it.

Re: Go 1.4 is released

#18
post #12

Can you build Android UI using Go? I have not found a good UI library in Go.

Also can someone please give a brief description of whole process to write a simple Android app in Go? What are the bare bone setup(Go, JDK, Android SDK??, etc.), so I can develop and compile? Is the final result an apk file? Thanks.

Re: Go 1.4 is released

#19
post #5

Can someone give me a compelling reason to start programming in Go? My default language at the moment is C, or C++.

Concurrency is the most compelling reason. You will miss templates though. Try experimenting with the concurrency and network communication stack in the go standard lib.

Re: Go 1.4 is released

#20
post #18
post #12

Can you build Android UI using Go? I have not found a good UI library in Go.

Also can someone please give a brief description of whole process to write a simple Android app in Go? What are the bare bone setup(Go, JDK, Android SDK??, etc.), so I can develop and compile? Is the final result an apk file? Thanks.

I'm not an Android developer, but have you seen the examples yet?

https://github.com/golang/mobile/tree/master/example

Post reply on HN