[go-nuts] Re: Go 1.19 Beta 1 is released

2022-06-13 Thread Duke
Got it done! Thx .. On Monday, June 13, 2022 at 9:17:57 p.m. UTC-6 ben...@gmail.com wrote: > It doesn't replace the default "go" binary, but creates a new versioned > one in the usual go-install path (~/go/bin, which a lot of folks add to > their PATH). So you have to type "go1.19beta1"

[go-nuts] Re: Go 1.19 Beta 1 is released

2022-06-13 Thread ben...@gmail.com
It doesn't replace the default "go" binary, but creates a new versioned one in the usual go-install path (~/go/bin, which a lot of folks add to their PATH). So you have to type "go1.19beta1" instead of "go": $ which go1.19beta1 /home/duke/go/bin/go1.19beta1 $ go1.19beta1 version go version

[go-nuts] Re: Go 1.19 Beta 1 is released

2022-06-13 Thread Duke
On Friday, June 10, 2022 at 11:51:02 a.m. UTC-6 anno...@golang.org wrote: > > If you have Go installed already, the easiest way to try go1.19beta1 > is by using the go command: > $ go install golang.org/dl/go1.19beta1@latest > $ go1.19beta1 download > I did this on my Linux distro, but nothing

Re: [go-nuts] Re: Go 1.19 Beta 1 is released

2022-06-12 Thread Eric Hubbard
> debug.SetMemoryLimit will be useful (for me at least). Me too! :) I need to read up more about it though. It seems to be a soft limit, not a hard limit. We run in a container that has limited memory.. and anything we can do to make the GC aware of that limit would be nice.. -Eric

Re: [go-nuts] Re: Go 1.19 Beta 1 is released

2022-06-12 Thread Amnon
debug.SetMemoryLimit will be useful (for me at least). But a bit disappointed not to see a fix for https://github.com/golang/go/issues/50603. On Sunday, 12 June 2022 at 05:51:23 UTC+1 ben...@gmail.com wrote: > I'm quite looking forward to the performance improvements we'll get for > free

Re: [go-nuts] Re: Go 1.19 Beta 1 is released

2022-06-11 Thread ben...@gmail.com
I'm quite looking forward to the performance improvements we'll get for free (i.e., by just upgrading): sort will be faster, large switch blocks will be faster due to now using jump tables (good for interpreter opcode-dispatch loops), and regexp will be a little faster due to a

Re: [go-nuts] Re: Go 1.19 Beta 1 is released

2022-06-11 Thread Ian Lance Taylor
On Sat, Jun 11, 2022 at 12:30 AM Amnon wrote: > > What are the biggest, and most exciting changes coming in 1.19? The draft release notes are at https://tip.golang.org/doc/go1.19 . 1.18 was a big release with a lot of exciting changes. 1.19 is more of a relaxed, catch your breath release.

[go-nuts] Re: Go 1.19 Beta 1 is released

2022-06-11 Thread Amnon
Cool! What are the biggest, and most exciting changes coming in 1.19? On Friday, 10 June 2022 at 18:51:02 UTC+1 anno...@golang.org wrote: > Hello gophers, > > We have just released go1.19beta1, a beta version of Go 1.19. > It is cut from the master branch at the revision tagged go1.19beta1. > >