Live data from Hacker News

Go 1.7 is released

blog.golang.org

31–40 of 141 posts

Re: Go 1.7 is released

#31
post #22

I just learned Go 2 days ago and today I am already running my own web app! I love Go because it is kind of like C, but better (more modern).Generally, I always program my stuff in Java, but whenever I have an idea of creating something I could only choose between: C, Java, bash. Obviously I am not going to use C and bash for most of my ideas. Thinking about solving my issues in Java is meh so often I decided it is n…

I suggest giving Ruby a try too. I find it great for both web dev and local automation scripts. You can do pretty much anything you can do in bash but with clearer and shorter code. I've been writing all my non-trivial automation code in Ruby for years. Rails is just a popular web framework for Ruby, there's a lot more the language can do.

It's annoying to have to install the ruby interpreter onto everything. Go feels a lot like a scripting language, but produces binaries.

Re: Go 1.7 is released

#32
>A new compiler back end, based on static single-assignment form (SSA), has been under development for the past year

Huh, I was under the impression that either SSA or CPS was pretty standard for any serious compiler. Does anyone know why they didn't design it for this from the beginning? It's like one of the earlier things you learn when making actual compilers.

Re: Go 1.7 is released

#33
post #28

Earlier quoted context omitted.

Maybe "Go 1.7 has been released" or "Go 1.7 is out"

Exactly, both would have been a fine. I am wondering if this is a grammar mistake, or general English usage difference in US and Commonwealth countries.

[deleted]

Re: Go 1.7 is released

#34
post #32

>A new compiler back end, based on static single-assignment form (SSA), has been under development for the past year Huh, I was under the impression that either SSA or CPS was pretty standard for any serious compiler. Does anyone know why they didn't design it for this from the beginning? It's like one of the earlier things you learn when making actual compilers.

> Huh, I was under the impression that either SSA or CPS was pretty standard for any serious compiler.

It was based on the Plan 9 compilers, which didn't use SSA.

Re: Go 1.7 is released

#35
post #23

Ok, off topic question. Not an expert in grammar, but something about "Go 1.7 is released" seems wrong to me. Anyone could tell me if this is an correct usage of grammar? Edit: Dont know why so many downvote, but it is a honest question.

I'm happy as long as no one tries to say "Go 1.7 has dropped".

Re: Go 1.7 is released

#36
post #23

Ok, off topic question. Not an expert in grammar, but something about "Go 1.7 is released" seems wrong to me. Anyone could tell me if this is an correct usage of grammar? Edit: Dont know why so many downvote, but it is a honest question.

Same, it sounds off to me. I'm also not a grammar expert but know when something sounds 'off'.

"Nintendo Wii U is released." - it just sounds strange.

"Nintendo Wii U has been released." - ok, sounds good.

"Nintendo Wii U released." - ok, sounds good.

Re: Go 1.7 is released

#37
post #23

Ok, off topic question. Not an expert in grammar, but something about "Go 1.7 is released" seems wrong to me. Anyone could tell me if this is an correct usage of grammar? Edit: Dont know why so many downvote, but it is a honest question.

It's newspaper headline-style, i.e., written in present-tense.

Example from nytimes.com right now, "Bag Left Alone by Mother of Olympian Is Blown Up".

(Downvotes: Dunno why either. People are grumpy.)

Re: Go 1.7 is released

#38

Great work, Go team! Standout points in my opinion: Overall performance improvements: >> "We observed a 5–35% speedup across our benchmarks." Decreased compile times and binary size: >> "While these changes across the compiler toolchain are mostly invisible, users have observed a significant speedup in compile time and a reduction in binary size by as much as 20–30%." Vendoring dependencies by default: >> "...and in…

The faster compilation time & speed up is quite real in our real life prod application. From Go 1.6 to 1.7: Test suite (CI), from 3:34 to 1:48 Docker image building, from 3:05 to 1:50 https://twitter.com/mattetti/status/763913903600349184

That's a ridiculous speed improvement. Holy shit.

Re: Go 1.7 is released

#39
post #32

>A new compiler back end, based on static single-assignment form (SSA), has been under development for the past year Huh, I was under the impression that either SSA or CPS was pretty standard for any serious compiler. Does anyone know why they didn't design it for this from the beginning? It's like one of the earlier things you learn when making actual compilers.

It was more expedient to start with the Plan 9 tool chain that we had at the time. Ken was already familiar with the code base, which was small and compiled quickly (a few seconds). Because of this we got a lot done quickly, knowing that we would eventually modernize the compiler.

Re: Go 1.7 is released

#40

Earlier quoted context omitted.

The faster compilation time & speed up is quite real in our real life prod application. From Go 1.6 to 1.7: Test suite (CI), from 3:34 to 1:48 Docker image building, from 3:05 to 1:50 https://twitter.com/mattetti/status/763913903600349184

Wow. That's impressive. Thanks for the example numbers, Matt!

Thanks to the Go team, getting such an improvement without having to do anything is awesome. And I can't believe there is more coming in 1.8
Post reply on HN