Live data from Hacker News

Go 1.4 is released

blog.golang.org

71–80 of 265 posts

Re: Go 1.4 is released

#72
post #61

Nice. Now all I need is for someone to turn https://github.com/jcla1/gisp into a slightly more complete LISP and I'll have a nice environment for all kinds of ARM systems. Edit: typo/autocorrect

this your project? i'm down to do this

Re: Go 1.4 is released

#74
post #5

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

It's Go's simplicity that really struck a nerve with me. I've been coding for over 30 years now (Basic, ASM, C/C++, Java, Python, PHP, JS, Clojure) and with Go, I just love how everything is laid out for you: idiomatic Go, formatting, commenting, unit testing, concurrence, standard libraries etc. I don't have to research the basic tools. It keeps me focused on the task at hand. I'm very productive with Go. We have it in production and I'm super happy with it. (Btw, I never missed generics. If you pick a language based on its number of features, Go may not be for you.)

Re: Go 1.4 is released

#75
post #40

> The most notable new feature in this release is official support for Android. Using the support in the core and the libraries in the golang.org/x/mobile repository, it is now possible to write simple Android apps using only Go code. This is fantastic! Are there any example Android apps released by the Go team to help get started ?

If go code can now run on android, the go compiler can run on it...? Allowing go coding on-the-unit.

Not necessarily, this could still be cross-compilation. On the other hand, why wouldn't it?

Re: Go 1.4 is released

#76
post #3

> The most notable new feature in this release is official support for Android. Using the support in the core and the libraries in the golang.org/x/mobile repository, it is now possible to write simple Android apps using only Go code. This is fantastic! Are there any example Android apps released by the Go team to help get started ?

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

As far as I can tell these samples are immediately bailing out of the Java framework and calling Go using JNI. Which means you don't get the niceties of the UI Framework. You could make OpenGL calls from the Go code like for a game or something. Maybe someone will come up with a Go game engine for Android.

Re: Go 1.4 is released

#79
post #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.

Doesn't that mean that the docs are lacking?

Re: Go 1.4 is released

#80
post #73

There is a new range syntax[1]. The release notes say it's rarely used, but makes code cleaner. In which cases would the syntax be useful? [1] https://golang.org/doc/go1.4#forrange

If they added support for `range 10` to iterate 0-9 this would be useful for doing things a certain number of times. Now it's probably mostly useful for emptying iterators.
Post reply on HN