top | item 10757570

Go 1.6 Beta Released

217 points| omginternets | 10 years ago |tip.golang.org | reply

64 comments

order
[+] omginternets|10 years ago|reply
I, for one, am very excited to see that vendoring is leaving its experimental status. I think this is the most noteworthy change in the tooling.
[+] s3th|10 years ago|reply
Agreed. In addition I hope they provide a blog post about best practices w.r.t. vendoring in order to explain the problem and solution in more depth to a wider audience than the initial design doc.
[+] florianletsch|10 years ago|reply
The submission title is misleading.

> NOTE: This is a DRAFT of the Go 1.6 release notes, prepared for the Go 1.6 beta. Go 1.6 has NOT yet been released. By our regular schedule, it is expected some time in February 2016.

[+] omginternets|10 years ago|reply
1.6 has not been released, but this is the 1.6 Beta 1. It should be considered unstable, obviously.
[+] dvdplm|10 years ago|reply
Doesn't say anything about compilation speed. How close to 1.4 performance are we? The slow compilation on 1.5 has kept us on 1.4 so far.
[+] iends|10 years ago|reply
1.5->1.6 has roughly the same speeds. There are discussions about improving compiler speed in 1.7.
[+] grey-area|10 years ago|reply
I was looking for this too. Disappointed to see no mention of it as compilation time doubled in 1.5.
[+] omginternets|10 years ago|reply
Oh god, so it's not just me... it really is slower...
[+] UniQP|10 years ago|reply
Does anyone know the current state of the SSA backend mentioned in https://news.ycombinator.com/item?id=9099744 ?
[+] teabee89|10 years ago|reply
Congrats on the release! Very excited about http2 and vendoring.

But what's happening with the work on shared libraries? :(

[+] enahs-sf|10 years ago|reply
HTTP2 in the standard library is a huge win. Really excited for this to drop!
[+] jcadam|10 years ago|reply
Ah good, I've been waiting on a fix for one nasty bug in particular: https://github.com/golang/go/issues/3665

I'm also interested in the vendoring support. I've been using godep and I haven't really taken a look at the vendoring in 1.5 yet (being experimental and all).

[+] jerf|10 years ago|reply
The vendor support is that if you create a directory called "vendor" in the "current project", it will be preferred to the GOPATH for that project. That's pretty much it. The idea here is that they officially support that in the compiler, and then the community can build whatever tools it likes around that support. Whether you call that "support for vendoring" depends on exactly what you're looking for from "support". It's true that the compiler "supports" it, but it's also true that Go still has no "official" vendoring solution, unless you want to count the default one of manually mananging vendored directories, though I don't think most people interested in "vendoring" would call that support (and neither would I, so that's no criticism).

I could use a tool that I could fire at a codebase that asserts that all imports are either coming out of the vendor directory or coming out of the base system.

[+] smegel|10 years ago|reply
I wish golang.org had an RSS feed.
[+] jshen|10 years ago|reply
What, no generics!!!!!!

/kidding :p

[+] aikah|10 years ago|reply
Interesting, so "go 2.0" is 2 years down the road, it will be interesting to see what happens next.
[+] vanderZwan|10 years ago|reply
That's not how semantic versioning works[0]. If they want (and everything still points in this direction AFAIK) they will just keep releasing Go 1.10, 1.11, 1.12, etc.

http://semver.org/

[+] PopsiclePete|10 years ago|reply
There is no Go2. Go2 is not a "thing", it's the absence of another thing. It's very Zen. Go2 is everything that Go1 cannot be. If Go1 was the universe, Go2 would be everything outside of it - which is nothing. Anytime someone mentions "This needs to wait for Go2", what they mean is "We can't do this now due to the Go1 compatibility promise, so let's leave it for the far future, for a day that may never even come, and table this discussion".
[+] omginternets|10 years ago|reply
I think 2.0 implies breaking backwards compatibility, which the Go devs have opposed on principle.
[+] mseepgood|10 years ago|reply
That's not how version numbers work.
[+] iends|10 years ago|reply
Where did you get this idea?