Re: [go-nuts] Can somebody explain the importance of 'select'?

2017-01-20 Thread John C.
Thank you for the explanations.  I also received a helpful note off list, 
put here for posterity:


--

Correct! ;-)
---

Aha, I have no way of finding out whether a channel is ready to proceed 
>> without actually proceeding or blocking.
>>
>> On x wrote:
>>
>>> On x wrote:
>>>
>>> > While I understand just fine how to use select/goroutines/channels, 
>>> the overarching importance of select as a built-in feature is escaping 
>>> me.
>>>
>>> I suggest a thought experiment. You understand just fine how to use the 
>>> select statement, so maybe try to imagine how are you'd code some task, 
>>> where you use normally use select, _without_ it. What'll be the [most 
>>> important] difference?
>>> -- 
>>>
>>> -j
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Can somebody explain the importance of 'select'?

2017-01-19 Thread John C.
On several occasions the Go designers have alluded to the fact that the 
'select' mechanism and the fact that it's built in to the language are very 
important for concurrency (can't seem to find references).  While I 
understand just fine how to use select/goroutines/channels, the overarching 
importance of select as a built-in feature is escaping me.

Can somebody help me see the big "why" picture better?

Thanks,
John C.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: https://http2.golang.org/ shows http/2 disabled on chrome but it's not!

2016-12-29 Thread John C.
I show http/2 working at https://http2.golang.org/ on Win10 x64 with 
Chrome 56.0.2924.28 beta (64-bit).  Home internet connection, ordinary 
neighborhood internet provider.



On Thursday, December 29, 2016 at 4:39:02 PM UTC-5, Dave Cheney wrote:
>
> Right, so it's a bug with chrome on windows. 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.