7 ms·
Go 1.11 Beta 2 is Released
- bradfitz 8y agoRelease notes: https://tip.golang.org/doc/go1.11 https://tip.golang.org/doc/go1.11
- redcat255 8y agoI wonder, is there a chance for go to ever become a paid language?
- phito 8y agoIt will come with generics
- nkozyra 8y agoAs in ... pay to use it? That concept seems like a relic at this point, no?
- randomdata 8y agoHe is presumably making reference to the Java[1] situation. [1] https://dev.karakun.com/java/2018/06/25/java-releases.html https://dev.karakun.com/java/2018/06/25/java-releases.html
- redcat255 8y agoThis, exactly.
- mseepgood 8y agoI get paid for writing Go at my job.
- Kurtz79 8y agoSuch as?
- dcu 8y agoThis beta includes experimental support for modules (also known as vgo) if you're interested, there's a series of articles explaining how modules work here: https://research.swtch.com/vgo https://research.swtch.com/vgo
- Cthulhu_ 8y agoAnd here's someone's experiences with it: https://github.com/Vandebron/Vandebron/pull/2532 https://github.com/Vandebron/Vandebron/pull/2532 Getting started with a Go project is now easier and faster - install go runtime, clone, run a command to install dependencies, build & run. No more need for a go specific file structure (although I guess it'll still help if you're doing professional development)
- kyrra 8y agoYour link is dead, looks like it's a private project?
- jacksmith21006 8y agoGreat link. Thanks!
- Lio 8y agoWebAssembly is a really interesting feature for me. I'll be interested to find out more about interactivity with the rest of the javascript world via syscall/js.
- hartz 8y agoI'm also excited to see where this leads. From the release notes: > Go programs currently compile to one WebAssembly module that includes the Go runtime for goroutine scheduling, garbage collection, maps, etc. As a result, the resulting size is at minimum around 2 MB, or 500 KB compressed. The minimum size is a bit unfortunate, but after all it is still just experimental.
- enitihas 8y agoThe minimum is large, but if you compare it to mainstream js frameworks, it doesn't look that large. (Source: https://gist.github.com/Restuta/cda69e50a853aa64912d https://gist.github.com/Restuta/cda69e50a853aa64912d). There are several frameworks with size over 100K compressed.
- Touche 8y agoI would say being 20x larger than the largest JS framework is pretty significant. There's a lot of use-cases that are simply not plausible if you need to wait for 2mb to download. Maybe they can use some DCE to get it smaller, idk. Go binaries have never been that small so I have my doubts, but hopefully! EDIT: I see the release notes now that says 500k compressed. That's much better. I didn't realize webassembly could be compressed, is this just gzip?
- quantumwoke 8y agoI am disappointed every time I see a new Go release and go to check the release notes. The language is still lacking features like generics, sane concurrency primitives and even performance in some cases. Of course the WebAssembly port in 1.11 is an impressive feat of engineering, but I can't see myself replacing core components at my company with Go yet. Fingers crossed.
- ancarda 8y ago>sane concurrency primitives Could you elaborate on this? Are you perhaps talking about STM? I can't think of anything else that is really missing.
- mseepgood 8y agoIf you check each Go release notes for generics you're doing it wrong. If generics will come one day you will have heard about it long before any release notes.
- claydavisss 8y agoLiterally years before.
- pjmlp 8y agoIf you think Go will ever get generics you are fooling yourself.
- kxukfoldld 8y agoGoogle too hard these days? https://github.com/golang/go/issues/15292 https://github.com/golang/go/issues/15292
- pjmlp 8y ago"Issue opened two years ago". Visible work done on generics, beyond go generate, zero. Unless you also want to teach me how to check Go's source code for the pull request related to that issue. Until then it is all just smoke and mirrors.
- jedisct1 8y agoGo binaries not running any more on Windows < 7 is going to be a serious issue.
- rhencke 8y agoAs far as I know, not even Microsoft supports Windows versions below 7 anymore. Vista support has ended, and XP support ended long ago.
- kxkfkkfvv 8y agoHow so? You can still compile with go 1.10
- zeveb 8y agoOnly for as long as his dependencies can compile with Go 1.10. In my experience it's pretty common for the Go community to rapidly adopt features found in new releases, making it impossible to support old Go versions. I've seen guys commit code requiring a new Go version the day it was released! My own preference is to wait a few months, but I'm naturally conservative.
- Kubuxu 8y ago> I've seen guys commit code requiring a new Go version the day it was released! I will be that guy once Go 1.11 releases. The reason being, Golang finally added feature [1] we were asking for since Jan 2015, it allows us to replace about 3k LOC of platform specific, low level (syscall) and error-prone code with 10 lines. [1]: https://github.com/golang/go/issues/9661 https://github.com/golang/go/issues/9661
- nxkduudujs 8y agoThis is a no-problem when you vendor your dependencies.
- zeveb 8y agoDon't look at it as a burden: look at it as a gift. When you're born, you have no claim on anyone in the world other than your parents. You can't demand protection from the Singapore police; you can't demand that the consumer protections of Zaire be imposed on your diapers; you are alien to every state on earth. Every state, that is, but yours. At birth, you get the right to make demands of all these other people, and (under rules you'll get to contribute to) they'll answer those demands! You get welfare, healthcare, education — all because of your nation-state. That's pretty awesome!
- glenndebacker 8y agoCan we use XML with multiple namespaces now? I find it weird that 3 years later working with xml namespaces is still troublesome - https://github.com/golang/go/issues/13400#issuecomment-162459219 https://github.com/golang/go/issues/13400#issuecomment-16245...