Quite significant that Bell Labs Unix alums don't want to put up with C any more and actively purge it from their tree?
Go 1.5 Release Notes
11–20 of 66 posts
Re: Go 1.5 Release Notes
#12Re: Go 1.5 Release Notes
#13The release notes mention the new Go compiler is about 2x slower than the old C based one. It also mentions there's ongoing work to improve this. I wonder if there are any estimates on how close to the original performance they think they can get. Do they expect to reach parity by, say, 1.6 or will it always be slower? For my tiny hobby projects, compile times aren't an issue at all so I'm asking purely out of curios…
Re: Go 1.5 Release Notes
#14The release notes mention the new Go compiler is about 2x slower than the old C based one. It also mentions there's ongoing work to improve this. I wonder if there are any estimates on how close to the original performance they think they can get. Do they expect to reach parity by, say, 1.6 or will it always be slower? For my tiny hobby projects, compile times aren't an issue at all so I'm asking purely out of curios…
Re: Go 1.5 Release Notes
#15Quite significant that Bell Labs Unix alums don't want to put up with C any more and actively purge it from their tree?
I think one could foresee making more changes in the future in that area. It's sort of exciting to think that these fairly low level foundational details which much of programming relies on, could be rethought and maybe get us to a different place than we are now.
Re: Go 1.5 Release Notes
#16Re: Go 1.5 Release Notes
#17Quite significant that Bell Labs Unix alums don't want to put up with C any more and actively purge it from their tree?
> Quite significant that Bell Labs Unix alums don't want to put up with C any more and actively purge it from their tree? Go is quite literally written by the people who invented C, wrote C, and made it what it is today. (Ken Thompson wrote one of the first commits to the language). The reason for purging C from the Go toolchain is that it makes it harder for Go developers to contribute. Go developers already all kno…
This is why Go was maintaining it's own C compiler -- They had it modified to work well with Go, as far as I am aware[1].
Removing it means one less compiler to maintain.
[1] From Go 1.4, the source for the Go C compiler: https://github.com/golang/go/tree/883bc6ed0ea815293fe6309d66...
Re: Go 1.5 Release Notes
#18Anyone know how to cross compile with cgo?
Re: Go 1.5 Release Notes
#19Are there any more details about the change to goroutine scheduling? Is this more than the just change to the GOMAXPROCS' default value?
Re: Go 1.5 Release Notes
#20Anyone know how to cross compile with cgo?
env GOOS=linux GOARCH=arm GOARM=7 go build hello.go
This link is a good summary of the situation now and in future:http://dave.cheney.net/2015/03/03/cross-compilation-just-got...
This one talks about cgo:
https://medium.com/@rakyll/go-1-5-cross-compilation-488092ba...