Re: [go-nuts] [Blog] Context should go away for Go 2

2017-08-07 Thread Linker
Do you know Goroutine local storage ? On Mon, Aug 7, 2017 at 11:20 PM, wrote: > I also dont want to see context everywhere. At the same time, I don't want > it to be obfuscated in a confusing way. > > ctx is an unfortunate initialism and

[go-nuts] [Blog] Context should go away for Go 2

2017-08-07 Thread as . utf8
I also dont want to see context everywhere. At the same time, I don't want it to be obfuscated in a confusing way. ctx is an unfortunate initialism and context.Context package stuttering doesn't help. I suppose you could stuff a pointer on the stack pointing to a potential context and then

[go-nuts] [Blog] Context should go away for Go 2

2017-08-07 Thread faiface2202
Hi everyone! I've written a blog post called 'Context should go away for Go 2': https://faiface.github.io/post/context-should-go-away-go2/ The post is about the cancelation problem in Go, how context package solves it, why context package is bad anyway, and that Go 2 should do something about