Go 1.7 Beta 1 is released

3,910 views
Skip to first unread message

Andrew Gerrand

unread,
Jun 1, 2016, 9:48:24 PM6/1/16
to golang-nuts
Hello gophers,

We have just released go1.7beta1, a beta version of Go 1.6.
It is cut from the master branch at the revision tagged go1.7beta1.

Please help us by testing your Go programs with the release, and report any problems using the issue tracker:

You can download binary and source distributions from the usual place:

To find out what has changed in Go 1.7, read the draft release notes:

Documentation for Go 1.7 is available at:

Our goal is to release the final version of Go 1.7 on the 1st of August.

Cheers,
Andrew

Andrew Gerrand

unread,
Jun 1, 2016, 9:54:29 PM6/1/16
to golang-nuts

On 2 June 2016 at 11:47, Andrew Gerrand <a...@golang.org> wrote:
We have just released go1.7beta1, a beta version of Go 1.6.

Continuing in the tradition of me making typos in release announcements, obviously this should be "Go 1.7."

Roberto Zanotto

unread,
Jun 2, 2016, 1:41:26 PM6/2/16
to golang-nuts
Congratulations!

I'm writing a binary encoder, the execution time decreased by 50% for encoding small structs
(the thing is not even fully optimized yet).

Seb Binet

unread,
Jun 3, 2016, 4:01:36 AM6/3/16
to Roberto Zanotto, golang-nuts
On Thu, Jun 2, 2016 at 7:41 PM, Roberto Zanotto <roby...@gmail.com> wrote:
Congratulations!

I'm writing a binary encoder, the execution time decreased by 50% for encoding small structs
(the thing is not even fully optimized yet).

as yet another data point, testing a number-crunching test application [0], I went from ~29s (go-1.6.2) to ~24s (go-1.7b1).
the C++ code (gcc-6.1) is clocking at ~36s:

$ time run-c++
real 0m36.617s
user 0m36.580s
sys 0m0.013s

$ time run-go-1.6.2
real 0m29.523s
user 0m29.667s
sys 0m0.023s

$ time run-go-1.7b1
real 0m24.128s
user 0m24.063s
sys 0m0.023s

Really nice! :)

(nothing is concurrent at this time: neither Go's code nor C++'s)

-s



On Thursday, June 2, 2016 at 3:48:24 AM UTC+2, Andrew Gerrand wrote:
Hello gophers,

We have just released go1.7beta1, a beta version of Go 1.6.
It is cut from the master branch at the revision tagged go1.7beta1.

Please help us by testing your Go programs with the release, and report any problems using the issue tracker:

You can download binary and source distributions from the usual place:

To find out what has changed in Go 1.7, read the draft release notes:

Documentation for Go 1.7 is available at:

Our goal is to release the final version of Go 1.7 on the 1st of August.

Cheers,
Andrew

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

dja...@gmail.com

unread,
Jun 3, 2016, 7:38:09 AM6/3/16
to golang-nuts, roby...@gmail.com
Hi,
wha are c++ compiler flags ?  any optimisation flag (O) ?
Thanks,
Jamil Djadala

Seb Binet

unread,
Jun 3, 2016, 8:00:46 AM6/3/16
to dja...@gmail.com, golang-nuts, Roberto Zanotto
On Fri, Jun 3, 2016 at 1:37 PM, <dja...@gmail.com> wrote:
Hi,
wha are c++ compiler flags ?  any optimisation flag (O) ?


so, yes, optimisations are enabled (-O3)

I haven't written the C++ code: it's a translation from an old FORTRAN-77 physics simulation which (it seems) was used during the LEP data taking at CERN (circa 1980's).
I don't claim it is nice nor very efficient C++ code (but that's what has been used in some circles)
The fact that a simple and naive Go re-write (also single-threaded!) was faster is (IMHO) a testimony that Go is easier to get right than C++ and that the gc compiler is catching up.
(or that the original F77->C++ translator did a sloppier job than I did for the F77->C++->Go translation :P)

-s

Fabien

unread,
Jun 3, 2016, 8:33:19 AM6/3/16
to golang-nuts
Thank you Go team! My number-crunching app got about twice faster with this release. This is very important to me as it might make the difference between having all the results I need before a deadline in 1 week vs not having them. Hurray!

Fabien

Konstantin Khomoutov

unread,
Jun 3, 2016, 10:27:03 AM6/3/16
to Andrew Gerrand, golang-nuts
On Thu, 2 Jun 2016 11:47:41 +1000
Andrew Gerrand <a...@golang.org> wrote:

[...]
> To find out what has changed in Go 1.7, read the draft release notes:
> https://tip.golang.org/doc/go1.7

A small glitch in the release notes. The "Runtime" section looks like:

<h3 id="runtime">Runtime</h3>

<p>
All panics started by the runtime now use panic values
that implement both the builtin <a href="/ref/spec#Errors">error,
and
</a><a href="/pkg/runtime/#Error"><code>runtime.Error</code></a>,
as
<a href="/ref/spec#Run_time_panics">required by the language
specification</a>. </p>

with the "error, and" tech wrapped in an anchor element while
supposedly it should be just "error".

[...]

Ian Lance Taylor

unread,
Jun 3, 2016, 1:10:51 PM6/3/16
to Konstantin Khomoutov, Andrew Gerrand, golang-nuts
Thanks, fixed by https://golang.org/cl/23735 .

Ian

Yesudeep Mangalapilly

unread,
Jun 3, 2016, 3:17:19 PM6/3/16
to golang-nuts
Fantastic! Thank you. :)

jonathan...@gmail.com

unread,
Jun 4, 2016, 10:24:43 PM6/4/16
to golang-nuts
Anyone else getting failures from running test only on go1.7beta1 that are failures internal?


On Wednesday, June 1, 2016 at 6:48:24 PM UTC-7, Andrew Gerrand wrote:

Dave Cheney

unread,
Jun 5, 2016, 1:21:30 AM6/5/16
to golang-nuts
Is this building go 1.7, or in your code? Could you share some details please.

Peter Weinberger

unread,
Jun 5, 2016, 8:14:25 AM6/5/16
to Dave Cheney, golang-nuts
https://golang.org/issue/15933
occurs when i try to build 1.7beta1 on mac or linux.
to continue insert t.Skip() in the failing test.

On Sun, Jun 5, 2016 at 1:21 AM, Dave Cheney <da...@cheney.net> wrote:
Is this building go 1.7, or in your code? Could you share some details please.

jonathan...@gmail.com

unread,
Jun 5, 2016, 9:54:29 PM6/5/16
to golang-nuts
My mistake, this was a GOROOT issue.

Dave Cheney

unread,
Jun 5, 2016, 10:21:59 PM6/5/16
to golang-nuts
You know what I'm going to say, :)

Chris Hines

unread,
Jun 6, 2016, 11:18:02 PM6/6/16
to golang-nuts
Is the command "godoc -http=:6060" still supposed to host package docs locally? When I run that command it opens a browser for the go tour, and it doesn't serve any package docs.

Tamás Gulácsi

unread,
Jun 7, 2016, 12:37:14 AM6/7/16
to golang-nuts
I can confirm this happens to me, too.
And it is annoying - I didn't know I've used that local server this much.

Dave Cheney

unread,
Jun 7, 2016, 12:41:11 AM6/7/16
to golang-nuts
This is a known bug in beta1, https://github.com/golang/go/issues/15941. I think its already been fixed. 

Michael Hudson-Doyle

unread,
Jun 7, 2016, 12:43:49 AM6/7/16
to Andrew Gerrand, golang-nuts
Go 1.7 beta 1 is now in my PPA at
https://code.launchpad.net/~gophers/+archive/ubuntu/archive (and
should be in the development version of Ubuntu within a day or two).

Cheers,
mwh
Reply all
Reply to author
Forward
0 new messages