Nice little change in syntax. m := map[Point]string{ Point{29.935523, 52.891566}: "Persepolis", Point{-25.352594, 131.034361}: "Uluru", Point{37.422455, -122.084306}: "Googleplex", } may now be written as: m := map[Point]string{ {29.935523, 52.891566}: "Persepolis", {-25.352594, 131.034361}: "Uluru", {37.422455, -122.084306}: "Googleplex", }
I came into the comments to say that I very much dislike this change. I much prefer the extra syntax to not really knowing what '{29.935523, 52.891566}' actually means.
The State of Go
21–30 of 172 posts
Re: The State of Go
#22Shared libraries? I thought "no DLLs" was one of the major design philosophies of Go.
One of the major design philosophies was ease of deployment, DLLs generally complicate that process, but for many purposes, they're a necessary tool. Interop with existing libraries is certainly a worthy enough feature to add to the Go toolchain, and it's an optional feature, so ease of deployment is still a primary concern, but if you need DLLs, this is available.
Re: The State of Go
#23Shared libraries? I thought "no DLLs" was one of the major design philosophies of Go.
This feature may be prepared for building shared libraries for C. After all, Using shared libraries is popular in C world.
Re: The State of Go
#24Re: The State of Go
#25Shared libraries? I thought "no DLLs" was one of the major design philosophies of Go.
I don't know the background on this choice, but I've spoken to a few Go shops that have complained about memory usage when running a bunch of different Go binaries on the same machine, so hopefully this will help there.
Re: The State of Go
#26"Go 1.5 provides support for Android and experimental support for iOS." Tell me more ...
Re: The State of Go
#27Re: The State of Go
#28Nice little change in syntax. m := map[Point]string{ Point{29.935523, 52.891566}: "Persepolis", Point{-25.352594, 131.034361}: "Uluru", Point{37.422455, -122.084306}: "Googleplex", } may now be written as: m := map[Point]string{ {29.935523, 52.891566}: "Persepolis", {-25.352594, 131.034361}: "Uluru", {37.422455, -122.084306}: "Googleplex", }
map[Point]string
as opposed to something more symmetrical?Re: The State of Go
#29Re: The State of Go
#30Earlier quoted context omitted.
One of the major design philosophies was ease of deployment, DLLs generally complicate that process, but for many purposes, they're a necessary tool. Interop with existing libraries is certainly a worthy enough feature to add to the Go toolchain, and it's an optional feature, so ease of deployment is still a primary concern, but if you need DLLs, this is available.
Furthermore, the years they spent where dynamic linking were not allowed incubated the culture -- even though dynamic linking is now allowed, it really will be a special case!