Live data from Hacker News

Go 1.11 released

golang.org

1–10 of 51 posts

Re: Go 1.11 released

#5
"Go programs currently compile to one WebAssembly module that includes the Go runtime for goroutine scheduling, garbage collection, maps, etc. As a result, the resulting size is at minimum around 2 MB, or 500 KB compressed."

considering it includes the runtime, this isn't a large file compared to images / videos you find on the web today

Re: Go 1.11 released

#6
Modules release is definitely a "we told you so" moment. Depending on outside packages has always bothered me, and kept me from doing more with the language.

Re: Go 1.11 released

#8
As listed on the blog page - https://blog.golang.org/go1.11 - two exciting features are modules and WebAssembly support.

Information about modules can be found at:

- https://golang.org/cmd/go/#hdr-Preliminary_module_support

- https://github.com/golang/go/wiki/Modules

- https://research.swtch.com/vgo

The wiki - https://golang.org/wiki/WebAssembly - provides information on how to get started with using Wasm with Go.

Re: Go 1.11 released

#9

Finally the entire GOPATH nonsense is going away...

Eh, it wasn’t the best, but it was still better than any other language’s equivalent except for Rust’s. In any case, modules have worked wonderfully for me so far.

Re: Go 1.11 released

#10
post #9

Finally the entire GOPATH nonsense is going away...

Eh, it wasn’t the best, but it was still better than any other language’s equivalent except for Rust’s. In any case, modules have worked wonderfully for me so far.

> but it was still better than any other language’s equivalent except for Rust’s

I'd say almost any language with project-specific deps folder (e.g. Node, Elm) are better than GOPATH and its module system.

For example, can't just write `import "./util"`. It needs to be fully qualified, every import depending on full project fs hierarchy including even the project user/name on github. This is hilarious when you just want to fork a project from github and get it running.

Post reply on HN